summaryrefslogtreecommitdiff
path: root/libgpsmm.h
diff options
context:
space:
mode:
authorukyg9e5r6k7gubiekd6 <ukyg9e5r6k7gubiekd6@mailinator.com>2012-08-07 00:12:19 +1000
committerEric S. Raymond <esr@thyrsus.com>2012-09-07 05:23:58 -0400
commit6886edd1858a828b2ffc1d81112edc9d6e766f5d (patch)
tree9bb78126da29366823ea6949c2c9ec0dc69d58aa /libgpsmm.h
parenta21fca3ec713bc5e2c69258ffc6bc4b95014476a (diff)
downloadgpsd-6886edd1858a828b2ffc1d81112edc9d6e766f5d.tar.gz
Silence another cppcheck warning.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'libgpsmm.h')
-rw-r--r--libgpsmm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsmm.h b/libgpsmm.h
index a367ada1..2e89f7bb 100644
--- a/libgpsmm.h
+++ b/libgpsmm.h
@@ -27,7 +27,7 @@ class LIBQGPSMMSHARED_EXPORT gpsmm {
#endif
public:
// cppcheck-suppress uninitVar
- gpsmm(const char *host, const char *port) : to_user(0) {
+ gpsmm(const char *host, const char *port) : to_user(0), _gps_state() {
gps_inner_open(host, port);
}
#ifdef __UNUSED__