git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5ebbdab
)
fix description strings without serial
author
Gerd v. Egidy
<gerd.von.egidy@intra2net.com>
Sat, 12 Dec 2009 23:48:49 +0000 (
00:48
+0100)
committer
Gerd v. Egidy
<gerd.von.egidy@intra2net.com>
Sat, 12 Dec 2009 23:48:49 +0000 (
00:48
+0100)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
8c0862c
..
4a2e3f7
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-741,7
+741,7
@@
int ftdi_usb_open_string(struct ftdi_context *ftdi, const char* description)
unsigned int vendor;
unsigned int product;
unsigned int index=0;
- const char *serial;
+ const char *serial=NULL;
const char *startp, *endp;
errno=0;