From 82f4388abed041270627b1eeaed8491447479921 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 5 Apr 2019 09:22:12 +0200 Subject: [PATCH] style --- client/hid-flasher/flash.c | 2 +- client/hid-flasher/proxusb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/hid-flasher/flash.c b/client/hid-flasher/flash.c index edfc6b776..967888e17 100644 --- a/client/hid-flasher/flash.c +++ b/client/hid-flasher/flash.c @@ -180,7 +180,7 @@ static int check_segs(flash_file_t *ctx, int can_write_bl) { // Load an ELF file and prepare it for flashing int flash_load(flash_file_t *ctx, const char *name, int can_write_bl) { - FILE *fd = NULL; + FILE *fd; Elf32_Ehdr ehdr; Elf32_Phdr *phdrs = NULL; int num_phdrs; diff --git a/client/hid-flasher/proxusb.c b/client/hid-flasher/proxusb.c index f7ff5d489..7563429d8 100644 --- a/client/hid-flasher/proxusb.c +++ b/client/hid-flasher/proxusb.c @@ -166,7 +166,7 @@ usb_dev_handle *findProxmark(int verbose, unsigned int *iface) { usb_dev_handle *OpenProxmark(int verbose) { int ret; - usb_dev_handle *handle = NULL; + usb_dev_handle *handle; unsigned int iface; handle = findProxmark(verbose, &iface);