From 28d5514e61ca7f7459c200b187b8cc3ebeda9274 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Sat, 28 Sep 2013 13:14:17 +0200 Subject: examples: fix warning ezusb.c: In function 'ezusb_load_ram': ezusb.c:719:6: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] int ret; --- examples/ezusb.c | 2 +- libusb/version_nano.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ezusb.c b/examples/ezusb.c index f47b617..5699a10 100644 --- a/examples/ezusb.c +++ b/examples/ezusb.c @@ -716,7 +716,7 @@ int ezusb_load_ram(libusb_device_handle *device, const char *path, int fx_type, struct ram_poke_context ctx; int status; uint8_t iic_header[8] = { 0 }; - int ret; + int ret = 0; if (fx_type == FX_TYPE_FX3) return fx3_load_ram(device, path); diff --git a/libusb/version_nano.h b/libusb/version_nano.h index ac86199..2000b91 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10843 +#define LIBUSB_NANO 10842 -- cgit v1.2.1