diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-05-18 04:44:01 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-05-18 04:44:01 -0400 |
commit | 7ee2bf88e99f0ffa027c5839e5ae85d55752ac1b (patch) | |
tree | 8a224b5479e288537d51d0f044df7e8cd532b574 /libgpsmm.h | |
parent | c46e369a26bb693e744206979ee9d8674c27f1da (diff) | |
download | gpsd-7ee2bf88e99f0ffa027c5839e5ae85d55752ac1b.tar.gz |
More cppcheck warning fixups. All regression tests pass.
Diffstat (limited to 'libgpsmm.h')
-rw-r--r-- | libgpsmm.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,10 +26,12 @@ class gpsmm { class LIBQGPSMMSHARED_EXPORT gpsmm { #endif public: + // cppcheck-suppress uninitVar gpsmm(const char *host, const char *port) : to_user(0) { gps_inner_open(host, port); } #ifdef __UNUSED__ + // cppcheck-suppress uninitVar gpsmm(void) : to_user(0) { gps_inner_open("localhost", DEFAULT_GPSD_PORT); |