summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools/regshell.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-04-25 22:15:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:34 -0500
commitf3d3b3c8091ad4540c330c07662540440affb96e (patch)
tree39efb9209216232a3b1a7518327017f9f31df502 /source4/lib/registry/tools/regshell.c
parent27ce4aa829ec1b4642a66fef2c31192778eef078 (diff)
downloadsamba-f3d3b3c8091ad4540c330c07662540440affb96e.tar.gz
samba-f3d3b3c8091ad4540c330c07662540440affb96e.tar.bz2
samba-f3d3b3c8091ad4540c330c07662540440affb96e.zip
r355: Fix a bunch of compiler warnings in the registry code.
(This used to be commit 0be7a866dc39e2d63c9c114d0f668287259e7c9e)
Diffstat (limited to 'source4/lib/registry/tools/regshell.c')
-rw-r--r--source4/lib/registry/tools/regshell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/lib/registry/tools/regshell.c b/source4/lib/registry/tools/regshell.c
index 18399b5bda..8ee2a65d06 100644
--- a/source4/lib/registry/tools/regshell.c
+++ b/source4/lib/registry/tools/regshell.c
@@ -58,7 +58,7 @@ static REG_KEY *cmd_ck(REG_KEY *cur, int argc, char **argv)
static REG_KEY *cmd_ls(REG_KEY *cur, int argc, char **argv)
{
- int i, num;
+ int i;
WERROR error;
REG_VAL *value;
REG_KEY *sub;
@@ -198,7 +198,6 @@ REG_KEY *process_cmd(REG_KEY *k, char *line)
int main (int argc, char **argv)
{
- uint32 setparms, checkparms;
int opt;
char *backend = "dir";
char *credentials = NULL;