X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0c0407178e0f768de17a6c71dbb3057cdd270490..aa10218a5017b9e462c417bf8d334f23fa99f303:/tools/firmware-utils/src/trx.c 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; }