summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-09 01:06:59 +0000
committerJeremy Allison <jra@samba.org>2001-03-09 01:06:59 +0000
commitd391499f26985f784e91cd33ec2d6b71071fd49b (patch)
treea0725bfb70ac54ecf4c4c14681ee7e8d51abefe7 /source/rpc_client
parent89640c48262c1263b6d92df0806fe9dd6ff0ef56 (diff)
downloadsamba-d391499f26985f784e91cd33ec2d6b71071fd49b.tar.gz
samba-d391499f26985f784e91cd33ec2d6b71071fd49b.tar.xz
samba-d391499f26985f784e91cd33ec2d6b71071fd49b.zip
Dead code elimination from SGI compiler.
Jeremy.
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/msrpc_spoolss.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/rpc_client/msrpc_spoolss.c b/source/rpc_client/msrpc_spoolss.c
index 84c182f43c0..74bec8c2533 100644
--- a/source/rpc_client/msrpc_spoolss.c
+++ b/source/rpc_client/msrpc_spoolss.c
@@ -507,7 +507,9 @@ BOOL msrpc_spoolss_enum_printerdata( const char* printer_name,
type=0;
datalen=0;
rdatalen=0;
-
+ value = NULL;
+ data = NULL;
+
status = spoolss_enum_printerdata(&hnd, idx, &valuelen, value,
&rvaluelen, &type, &datalen,
data, &rdatalen);