Skip to content

Commit 36f7135

Browse files
committed
[libafl_cc] Remove duplicate FATAL preproc macro
`FATAL` is defined in the `common-llvm.h` and is therefore accessible to all of the passes, remove the duplicate in the pass `.cc` file to remove the compiler warning
1 parent bafa7c7 commit 36f7135

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

crates/libafl_cc/src/dump-cfg-pass.cc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,6 @@
3838

3939
#include <nlohmann/json.hpp>
4040

41-
#define FATAL(x...) \
42-
do { \
43-
fprintf(stderr, "FATAL: " x); \
44-
exit(1); \
45-
\
46-
} while (0)
47-
4841
using namespace llvm;
4942

5043
namespace {

0 commit comments

Comments
 (0)