summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
authorRobert Norris <rw_norris@hotmail.com>2017-02-20 01:44:44 +0000
committerFred Wright <fw@fwright.net>2017-02-20 15:35:49 -0800
commite2695bd13a933a87779ae0c71447ee81486daefa (patch)
treecc7b0f369167c3b591737af32af3ee33168796bb /libgps_core.c
parent9d126a4eda9c3efdd593e63adfd5d2f7dddae18c (diff)
downloadgpsd-e2695bd13a933a87779ae0c71447ee81486daefa.tar.gz
Explicit marking of ignoring fprintf() result
Ensure consistent marking of '(void)' for most normal usage of fprintf() TESTED: 'scons build-all check' passes Signed-off-by: Fred Wright <fw@fwright.net>
Diffstat (limited to 'libgps_core.c')
-rw-r--r--libgps_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgps_core.c b/libgps_core.c
index 644b96d4..54eb8c78 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -102,7 +102,7 @@ int gps_open(const char *host,
#endif /* SOCKET_EXPORT_ENABLE */
#ifndef USES_HOST
- fprintf(stderr, "No methods available for connnecting to %s!\n", host);
+ (void)fprintf(stderr, "No methods available for connnecting to %s!\n", host);
#endif /* USES_HOST */
#undef USES_HOST