Browse Source

Merge commit 'f1cfb96' into bfgminer

Conflicts:
	libztex.c
Luke Dashjr 12 years ago
parent
commit
e04d5e770d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libztex.c

+ 1 - 1
libztex.c

@@ -125,7 +125,7 @@ static enum check_result libztex_checkDevice(struct libusb_device *dev)
 	struct libusb_device_descriptor desc;
 	struct libusb_device_descriptor desc;
 	int ret = CHECK_ERROR, err, cnt;
 	int ret = CHECK_ERROR, err, cnt;
 	size_t got_bytes, length;
 	size_t got_bytes, length;
-	unsigned char buf[64], *fw_buf;
+	unsigned char buf[64], *fw_buf = NULL;
 	unsigned int i;
 	unsigned int i;
 
 
 	err = libusb_get_device_descriptor(dev, &desc);
 	err = libusb_get_device_descriptor(dev, &desc);