This commit is contained in:
iceman1001 2019-04-05 09:22:12 +02:00
commit 82f4388abe
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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);