X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao-tools%2Fao-dumpflash%2Fao-dumpflash.c;fp=ao-tools%2Fao-dumpflash%2Fao-dumpflash.c;h=5c789fb934fecb8b7582cdc4cbe0c7688521114c;hp=3cd21e66ac83ed0e8c228c5b38ec03e13dcbec86;hb=6f729ff46b2f4531db68f0af85e7e9fe0f6d1969;hpb=f14c799ae7ff3be56c28f5694f04c03daff7708e 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) {