From 96d78b222c5750559b48eaa2c875fb288d918ab1 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 21 Nov 2012 17:03:41 -0500 Subject: [PATCH] [libusb] Fix uninitialized varible. --- selphy_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selphy_print.c b/selphy_print.c index d87b659..06f7a8d 100644 --- a/selphy_print.c +++ b/selphy_print.c @@ -80,7 +80,7 @@ static int dump_data_libusb(int remaining, int present, int data_fd, uint8_t *buf, uint16_t buflen) { int cnt; int i; - int wrote; + int wrote = 0; int num; while (remaining > 0) {