mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3: Fix an uninitialized variable
This commit is contained in:
parent
542396ccd9
commit
9bf2d260aa
@ -30,7 +30,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;
|
||||
|
Loading…
Reference in New Issue
Block a user