commmon: Fix unintialized error.

o
This commit is contained in:
Solomon Peachy 2013-09-30 14:52:05 +01:00
parent 294018b7ed
commit 6ce1ab9768
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
#include "backend_common.h"
#define BACKEND_VERSION "0.20"
#define BACKEND_VERSION "0.21"
#ifndef URI_PREFIX
#define URI_PREFIX "gutenprint+usb"
#endif
@ -88,7 +88,7 @@ done:
int send_data(struct libusb_device_handle *dev, uint8_t endp,
uint8_t *buf, int len)
{
int num;
int num = 0;
while (len) {
int ret = libusb_bulk_transfer(dev, endp,