Skip to content

Commit

Permalink
Be more explicit about the return value from gps_close() is not used.
Browse files Browse the repository at this point in the history
Signed-off-by: Gary E. Miller <[email protected]>
  • Loading branch information
rnorris authored and garyemiller committed Aug 3, 2016
1 parent 9702418 commit 42fcc59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgpsmm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 42fcc59

Please sign in to comment.