summaryrefslogtreecommitdiff
path: root/lcdgps.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-09-25 14:06:11 -0700
committerGary E. Miller <gem@rellim.com>2018-09-25 14:06:11 -0700
commit03e3bfc3d7205c811a595f0536663c90495a533f (patch)
tree798c7221d58a2385a7ec103d7a2331f43a059d1a /lcdgps.c
parent7ab43d7ecf480336b0d314e5c4988b1f8d76731a (diff)
downloadgpsd-03e3bfc3d7205c811a595f0536663c90495a533f.tar.gz
lcdgps: fix compiler warning about fall-through.
Diffstat (limited to 'lcdgps.c')
-rw-r--r--lcdgps.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lcdgps.c b/lcdgps.c
index 4bf97db2..f8ffebd2 100644
--- a/lcdgps.c
+++ b/lcdgps.c
@@ -327,8 +327,10 @@ int main(int argc, char *argv[])
speedunits = "kph";
continue;
default:
- (void)fprintf(stderr, "Unknown -u argument: %s\n", optarg);
+ break;
}
+ (void)fprintf(stderr, "Unknown -u argument: %s\n", optarg);
+ break;
case 'V':
(void)fprintf(stderr, "lcdgs revision " REVISION "\n");
exit(EXIT_SUCCESS);