From 1318c9aff7137b30aec7dee2ababb2b313ae0f06 Mon Sep 17 00:00:00 2001 From: kobalicek Date: Mon, 29 Sep 2014 23:09:08 +0200 Subject: [PATCH] Fixed warning related to `disabledTrace()`. --- src/asmjit/build.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asmjit/build.h b/src/asmjit/build.h index facd2a2..b97a456 100644 --- a/src/asmjit/build.h +++ b/src/asmjit/build.h @@ -263,7 +263,7 @@ // ASMJIT_TRACE is only used by sources and private headers. It's safe to make // it unavailable outside of AsmJit. #if defined(ASMJIT_EXPORTS) -namespace asmjit { static inline int disabledTrace(...) {} } +namespace asmjit { static inline int disabledTrace(...) { return 0; } } # if defined(ASMJIT_TRACE) # define ASMJIT_TSEC(_Section_) _Section_ # define ASMJIT_TLOG ::printf(__VA_ARGS__)