summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-02-11 08:42:29 +0100
committerVolker Lendecke <vl@samba.org>2009-02-11 08:42:50 +0100
commitdf42719ca374f92980ead8885987f606181c4321 (patch)
tree3df5b54bc8a3d1643a266f6bf72d618e30672221
parentabec7cfa165580f2a46f71bdd43c5a76d692257c (diff)
downloadsamba-df42719ca374f92980ead8885987f606181c4321.tar.gz
samba-df42719ca374f92980ead8885987f606181c4321.tar.bz2
samba-df42719ca374f92980ead8885987f606181c4321.zip
Fix an uninitialized variable
-rw-r--r--source3/rpcclient/cmd_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c
index 4a1d5cd3dc..93c2a1d3eb 100644
--- a/source3/rpcclient/cmd_spoolss.c
+++ b/source3/rpcclient/cmd_spoolss.c
@@ -2593,7 +2593,7 @@ static WERROR cmd_spoolss_printercmp(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx, int argc,
const char **argv)
{
- const char *printername;
+ const char *printername = argv[1];
char *printername_path = NULL;
struct cli_state *cli_server2 = NULL;
struct rpc_pipe_client *cli2 = NULL;