Skip to content

Commit

Permalink
tlog: Remove unused macro TLOG_FATAL
Browse files Browse the repository at this point in the history
The implementation was also wrong because it did not use __VA_ARGS__.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Aug 29, 2016
1 parent a1a4575 commit 1950fec
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions training/tlog.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,4 @@ DECLARE_INT_PARAM_FLAG(tlog_level);

#define TLOG_IS_ON(level) (FLAGS_tlog_level >= level)

#define TLOG_FATAL(msg, ...) \
{ \
tprintf(msg); \
ASSERT_FAILED.error("", ABORT, "in file %s, line %d", \
__FILE__, __LINE__); \
}


#endif // TESSERACT_TRAINING_TLOG_H_

0 comments on commit 1950fec

Please sign in to comment.