git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73a3105
)
Fix some compiler warnings.
author
Tim Potter
<tpot@samba.org>
Mon, 5 May 2003 02:47:41 +0000
(
02:47
+0000)
committer
Tim Potter
<tpot@samba.org>
Mon, 5 May 2003 02:47:41 +0000
(
02:47
+0000)
(This used to be commit
52d5ff7bdafabb421e76b6b19d95be22b380ddb4
)
source3/utils/editreg.c
patch
|
blob
|
history
diff --git
a/source3/utils/editreg.c
b/source3/utils/editreg.c
index ad4417921c8355bb81b9e843470443163ee1c574..31fd3080bbc2c3e28fdc29dfa1cf67b5cf5bbaf7 100644
(file)
--- a/
source3/utils/editreg.c
+++ b/
source3/utils/editreg.c
@@
-1007,9
+1007,6
@@
REG_KEY *nt_add_reg_key_list(KEY_LIST *list, char * name, REG_KEY *parent, int c
}
- return NULL;
- error:
- if (lname) free(lname);
return NULL;
}
@@
-2483,7
+2480,7
@@
CMD *regedit4_get_cmd(int fd)
cmd->cmd = CMD_NONE;
cmd->key = NULL;
cmd->val_spec_list = cmd->val_spec_last = NULL;
- while (
cl = get_cmd_line(fd
)) {
+ while (
(cl = get_cmd_line(fd)
)) {
strip_comment(cl); /* remove anything beyond a comment char */
trim_trailing_spaces(cl);