Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanimir Agovic2017-11-10 16:24:43 -0500
committerSanimir Agovic2017-11-10 18:04:38 -0500
commit0844aa2519b85a0102b22fcbb9aaf03f051e8c94 (patch)
treee50a7af3c0413d8573a41f5b6eab1461767ed4eb
parentd2f87aa98adea01d8caf2f6dcb6081c4dc0d26c2 (diff)
downloadorg.eclipse.tcf.agent-0844aa2519b85a0102b22fcbb9aaf03f051e8c94.tar.gz
org.eclipse.tcf.agent-0844aa2519b85a0102b22fcbb9aaf03f051e8c94.tar.xz
org.eclipse.tcf.agent-0844aa2519b85a0102b22fcbb9aaf03f051e8c94.zip
server: fix compiler warning
tcf/main/server.c:105:20: warning: if statement has empty body [-Wempty-body] Change-Id: Ieb3175168b2d8372f79044bb4ae24f06468f08cf Signed-off-by: Sanimir Agovic <sanimir@subpath.org>
-rw-r--r--server/tcf/main/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tcf/main/server.c b/server/tcf/main/server.c
index 3cc48452..9b3996e8 100644
--- a/server/tcf/main/server.c
+++ b/server/tcf/main/server.c
@@ -102,7 +102,7 @@ static void channel_redirection_listener(Channel * host, Channel * target) {
/* Added this line to avoid build warnings if none of the
* services below are defined (note that nm may be used
* in TARGET_SERVICE_CHECK_HOOK() macro). */
- if (nm);
+ (void)nm;
#if SERVICE_LineNumbers
if (strcmp(nm, "LineNumbers") == 0) service_ln = 1;
#endif

Back to the top