aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/asustrx.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/firmware-utils/src/asustrx.c')
-rw-r--r--tools/firmware-utils/src/asustrx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/asustrx.c b/tools/firmware-utils/src/asustrx.c
index b3daeedcfd..04af9a184a 100644
--- a/tools/firmware-utils/src/asustrx.c
+++ b/tools/firmware-utils/src/asustrx.c
@@ -150,7 +150,8 @@ static void usage() {
int main(int argc, char **argv) {
struct trx_header hdr;
struct asustrx_tail tail = { };
- FILE *in, *out;
+ FILE *out = NULL;
+ FILE *in = NULL;
uint8_t buf[1024];
size_t bytes;
size_t length = 0;