summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-09-17 08:02:43 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-09-17 08:02:43 -0400
commita34118b0a18820dc7d034dd04a0108c77ec12326 (patch)
tree528052d8b2f437a8ededa2f66f0a93d250b50670 /libgps_core.c
parent5773220c46e95b57a8c206f1621dd5139896182e (diff)
downloadgpsd-a34118b0a18820dc7d034dd04a0108c77ec12326.tar.gz
More cppcheck cleanup.
Diffstat (limited to 'libgps_core.c')
-rw-r--r--libgps_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgps_core.c b/libgps_core.c
index 5da71c4e..3ad9716d 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -179,6 +179,7 @@ int gps_stream(struct gps_data_t *gpsdata CONDITIONALLY_UNUSED,
int status = -1;
#ifdef SOCKET_EXPORT_ENABLE
+ /* cppcheck-suppress redundantAssignment */
status = gps_sock_stream(gpsdata, flags, d);
#endif /* SOCKET_EXPORT_ENABLE */