summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2011-03-21 15:00:13 -0700
committerGary E. Miller <gem@rellim.com>2011-03-21 15:00:13 -0700
commita450c42bebc8dd0cedd51d983654e049238850c9 (patch)
treeb9c667fbe7ecc314fca365aa230d3768a4f3440f /libgps_core.c
parent6ab5dd77c74cf0adccbf5228100000c68a930654 (diff)
downloadgpsd-a450c42bebc8dd0cedd51d983654e049238850c9.tar.gz
Shut up a compiler warning on unused var if not defined USE_QT
Diffstat (limited to 'libgps_core.c')
-rw-r--r--libgps_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgps_core.c b/libgps_core.c
index 23f3e999..f28e74b2 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -55,7 +55,9 @@ struct privdata_t
#define DEBUG_CALLS 1 /* shallowest debug level */
#define DEBUG_JSON 5 /* minimum level for verbose JSON debugging */
static int debuglevel = 0;
+#ifndef USE_QT
static int waitcount = 0;
+#endif
static FILE *debugfp;
void gps_enable_debug(int level, FILE * fp)