mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r15810: Fix uninitialized variable error, caught by the IBM checker.
This commit is contained in:
parent
fa23b09567
commit
1354333fd1
@ -122,7 +122,7 @@ int main(int argc, char **argv)
|
||||
|
||||
error = WERR_OK;
|
||||
|
||||
if (!h) {
|
||||
if (root != NULL) {
|
||||
print_tree(0, root, fullpath, no_values);
|
||||
} else {
|
||||
for(i = 0; reg_predefined_keys[i].handle; i++) {
|
||||
@ -131,6 +131,7 @@ int main(int argc, char **argv)
|
||||
fprintf(stderr, "Skipping %s\n", reg_predefined_keys[i].name);
|
||||
continue;
|
||||
}
|
||||
SMB_ASSERT(root);
|
||||
print_tree(0, root, fullpath, no_values);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user