summaryrefslogtreecommitdiff
path: root/hex.c
diff options
context:
space:
mode:
authorJon Schlueter <jschlueter@navigationsolutions.com>2015-02-18 09:11:50 -0500
committerJon Schlueter <jschlueter@navigationsolutions.com>2015-02-23 07:30:39 -0500
commitc331152ae884b87071d0922bf118877e6e54ceed (patch)
treeeddf3798b82241adc2fbec6a30d896c0113fedb2 /hex.c
parent95579bce63e48f7011c89b6228b411bb10b63ca1 (diff)
downloadgpsd-c331152ae884b87071d0922bf118877e6e54ceed.tar.gz
warning hunting cleanup in hex.c for unused parameters
add dummy usage of parameters when body of function is conditioned out
Diffstat (limited to 'hex.c')
-rw-r--r--hex.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hex.c b/hex.c
index 635bd53a..513cf558 100644
--- a/hex.c
+++ b/hex.c
@@ -50,6 +50,9 @@ const char /*@ observer @*/ *gpsd_hexdump(char *scbuf, size_t scbuflen,
scbuf[j] = '\0';
#else /* SQUELCH defined */
scbuf[0] = '\0';
+ (void)scbuflen;
+ (void)binbuf;
+ (void)binbuflen;
#endif /* SQUELCH_ENABLE */
return scbuf;
}