1
0
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:
Jelmer Vernooij 2006-05-22 16:32:41 +00:00 committed by Gerald (Jerry) Carter
parent fa23b09567
commit 1354333fd1

View File

@ -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);
}
}