Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2009-06-16 21:14:55 +0000
committereutarass2009-06-16 21:14:55 +0000
commit67adb604479a78aad3188387c49d57da45dca0f5 (patch)
tree104497f31b6c6134a74fc6c01988529776d1f43b
parenteb5e840ce637e81f04d53afb1c31cfa3c68773b1 (diff)
downloadorg.eclipse.tcf.agent-67adb604479a78aad3188387c49d57da45dca0f5.tar.gz
org.eclipse.tcf.agent-67adb604479a78aad3188387c49d57da45dca0f5.tar.xz
org.eclipse.tcf.agent-67adb604479a78aad3188387c49d57da45dca0f5.zip
Changed definition of "trace" macro to get rid of compile time warnings
-rw-r--r--trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace.h b/trace.h
index 96253c12..34bfe059 100644
--- a/trace.h
+++ b/trace.h
@@ -48,7 +48,7 @@ extern int print_trace(int mode, char * fmt, ...);
extern FILE * log_file;
-#define trace log_file && print_trace
+#define trace if (log_file) print_trace
#else /* not ENABLE_Trace */

Back to the top