summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-03 14:51:27 +0200
committerGünther Deschner <gd@samba.org>2010-08-03 15:57:56 +0200
commit743a2dedf42c2aa3e9e6caee92e3e9581ae56dce (patch)
tree555f8ecc5c003ce3e3f7455d002d4ad1fe483dc8
parentc530aa33cd9ac75bdd79754a2886bff54115800a (diff)
downloadsamba-743a2dedf42c2aa3e9e6caee92e3e9581ae56dce.tar.gz
samba-743a2dedf42c2aa3e9e6caee92e3e9581ae56dce.tar.bz2
samba-743a2dedf42c2aa3e9e6caee92e3e9581ae56dce.zip
s3-spoolss: fix uninitialized variable build warning.
Andreas, please check. Guenther
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index b62a7c0e68..d0473ed62a 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -447,7 +447,7 @@ static bool set_printer_hnd_name(TALLOC_CTX *mem_ctx,
int n_services=lp_numservices();
char *aprinter;
const char *printername;
- const char *servername;
+ const char *servername = NULL;
fstring sname;
bool found = false;
struct spoolss_PrinterInfo2 *info2 = NULL;