diff options
author | Robert Norris <rw_norris@hotmail.com> | 2016-07-30 18:09:01 +0000 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-08-02 17:08:00 -0700 |
commit | 42fcc594af93e78a0082ef7b2fe1a5b6e536a1c8 (patch) | |
tree | 05b1fee1148f92e00f7c4a78f3036da1ce97adeb /libgpsmm.cpp | |
parent | 9702418468b54c79f6d8502ce69155d8f72d4f9e (diff) | |
download | gpsd-42fcc594af93e78a0082ef7b2fe1a5b6e536a1c8.tar.gz |
Be more explicit about the return value from gps_close() is not used.
Signed-off-by: Gary E. Miller <gem@rellim.com>
Diffstat (limited to 'libgpsmm.cpp')
-rw-r--r-- | libgpsmm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsmm.cpp b/libgpsmm.cpp index a12d9753..ba4aeb0b 100644 --- a/libgpsmm.cpp +++ b/libgpsmm.cpp @@ -91,7 +91,7 @@ bool gpsmm::is_open(void) gpsmm::~gpsmm() { if ( to_user != NULL ) { - gps_close(gps_state()); + (void)gps_close(gps_state()); delete to_user; } } |