projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ao-tools: Fix warnings in ao-tools
[fw/altos]
/
ao-tools
/
ao-dumpflash
/
ao-dumpflash.c
diff --git
a/ao-tools/ao-dumpflash/ao-dumpflash.c
b/ao-tools/ao-dumpflash/ao-dumpflash.c
index 3cd21e66ac83ed0e8c228c5b38ec03e13dcbec86..5c789fb934fecb8b7582cdc4cbe0c7688521114c 100644
(file)
--- a/
ao-tools/ao-dumpflash/ao-dumpflash.c
+++ b/
ao-tools/ao-dumpflash/ao-dumpflash.c
@@
-51,24
+51,17
@@
main (int argc, char **argv)
int c;
char line[8192];
FILE *out;
int c;
char line[8192];
FILE *out;
- char *filename;
int serial_number = 0;
int freq = 434550;
char *call = "N0CALL";
int serial_number = 0;
int freq = 434550;
char *call = "N0CALL";
- int flight = 0;
- char cmd;
int block;
int addr;
int received_addr;
int data[8];
int block;
int addr;
int received_addr;
int data[8];
- int done;
int i;
int i;
- int column;
int remote = 0;
int remote = 0;
- int any_valid;
- int invalid;
int storage_size = 0;
int storage_size = 0;
- char *out_name;
+ char *out_name
= NULL
;
while ((c = getopt_long(argc, argv, "T:D:F:C:o:R", options, NULL)) != -1) {
switch (c) {
while ((c = getopt_long(argc, argv, "T:D:F:C:o:R", options, NULL)) != -1) {
switch (c) {