summaryrefslogtreecommitdiff
path: root/ao-tools/ao-dumpflash/ao-dumpflash.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-01-03 11:41:49 -0800
committerKeith Packard <keithp@keithp.com>2019-01-03 12:09:58 -0800
commit6f729ff46b2f4531db68f0af85e7e9fe0f6d1969 (patch)
treed0a93a48bd3012decbb230f5aa17ecc6c793cad2 /ao-tools/ao-dumpflash/ao-dumpflash.c
parentf14c799ae7ff3be56c28f5694f04c03daff7708e (diff)
ao-tools: Fix warnings in ao-tools
None of these appear likely to have caused actual problems. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/ao-dumpflash/ao-dumpflash.c')
-rw-r--r--ao-tools/ao-dumpflash/ao-dumpflash.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/ao-tools/ao-dumpflash/ao-dumpflash.c b/ao-tools/ao-dumpflash/ao-dumpflash.c
index 3cd21e66..5c789fb9 100644
--- 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;
- char *filename;
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 done;
int i;
- int column;
int remote = 0;
- int any_valid;
- int invalid;
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) {