X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0c0407178e0f768de17a6c71dbb3057cdd270490..2eca548a80038c965f10c32465f7357564f967e3:/tools/firmware-utils/src/trx.c?ds=sidebyside diff --git a/tools/firmware-utils/src/trx.c b/tools/firmware-utils/src/trx.c index 1131238a4..1ad3de54f 100644 --- a/tools/firmware-utils/src/trx.c +++ b/tools/firmware-utils/src/trx.c @@ -88,7 +88,7 @@ int main(int argc, char **argv) char *ofn = NULL; char *buf; char *e; - int c, i, append; + int c, i, append = 0; size_t n; uint32_t cur_len; unsigned long maxlen = TRX_MAX_LEN; @@ -230,7 +230,7 @@ int main(int argc, char **argv) } fclose(out); - + return EXIT_SUCCESS; }