projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't crash if --plot isn't passed on ao-postflight command line
[fw/altos]
/
ao-tools
/
ao-postflight
/
ao-postflight.c
diff --git
a/ao-tools/ao-postflight/ao-postflight.c
b/ao-tools/ao-postflight/ao-postflight.c
index ed91be15a40e9f62011d587bb39c7bff59271e25..caa7fb74e755641b3a56c06ca0329532c05a61f9 100644
(file)
--- a/
ao-tools/ao-postflight/ao-postflight.c
+++ b/
ao-tools/ao-postflight/ao-postflight.c
@@
-536,7
+536,7
@@
main (int argc, char **argv)
int has_raw = 0;
int has_gps = 0;
int has_kml = 0;
- char *this_plot_name;
+ char *this_plot_name
= NULL;
;
while ((c = getopt_long(argc, argv, "s:d:p:r:g:k:a", options, NULL)) != -1) {
switch (c) {