projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d77c18
)
Don't crash if --plot isn't passed on ao-postflight command line
author
Keith Packard
<keithp@keithp.com>
Sun, 22 Nov 2009 06:11:45 +0000
(22:11 -0800)
committer
Keith Packard
<keithp@keithp.com>
Sun, 22 Nov 2009 06:11:45 +0000
(22:11 -0800)
Crashing is not nice.
Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/ao-postflight/ao-postflight.c
patch
|
blob
|
history
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) {