summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-21 14:06:33 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-21 14:06:33 -0400
commitd54bbf6c5caa169e1e3eaefed369869977c63aa3 (patch)
treeb2ca8362e1469c6b42f1ef2f9f3790cb904ce837
parentc4e21d750eb3f139c1378b0cb6f9ee47ef4de0d5 (diff)
downloadgpsd-d54bbf6c5caa169e1e3eaefed369869977c63aa3.tar.gz
Fix for a warning seen on mips with -Wclobbered.
-rw-r--r--gpsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.c b/gpsd.c
index e1e0a7f9..9e5ed3f7 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -1852,7 +1852,7 @@ int main(int argc, char *argv[])
int i, option;
int msocks[2] = {-1, -1};
bool go_background = true;
- bool in_restart;
+ volatile bool in_restart;
context.debug = 0;
gps_context_init(&context);