git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39ed810
)
ldb:ldb_parse.c - "ldb_parse_hex2char" - always initialise "c"
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Sat, 6 Nov 2010 20:22:53 +0000
(21:22 +0100)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Sat, 6 Nov 2010 21:04:57 +0000
(21:04 +0000)
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 6 21:04:58 UTC 2010 on sn-devel-104
source4/lib/ldb/common/ldb_parse.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/common/ldb_parse.c
b/source4/lib/ldb/common/ldb_parse.c
index 0203f3299f467ce7288e1d9fafb391d4ed395363..16b3e217fe53a0d6f51d69a83528b4c5f3ddb5f7 100644
(file)
--- a/
source4/lib/ldb/common/ldb_parse.c
+++ b/
source4/lib/ldb/common/ldb_parse.c
@@
-47,7
+47,7
@@
static int ldb_parse_hex2char(const char *x)
{
if (isxdigit(x[0]) && isxdigit(x[1])) {
const char h1 = x[0], h2 = x[1];
- int c;
+ int c
= 0
;
if (h1 >= 'a') c = h1 - (int)'a' + 10;
else if (h1 >= 'A') c = h1 - (int)'A' + 10;