summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-20 16:15:38 +0100
committerVolker Lendecke <vl@samba.org>2008-03-20 16:54:05 +0100
commit5346641c1c3d5f665a684f7250f82955869ef9a9 (patch)
tree04dd957b8e299b9ca9d6198590b18a1bd5c164af /source3/rpc_server
parent3d2ec806937b3f8e3c30b4a32d4f97fed6dfdd74 (diff)
downloadsamba-5346641c1c3d5f665a684f7250f82955869ef9a9.tar.gz
samba-5346641c1c3d5f665a684f7250f82955869ef9a9.tar.bz2
samba-5346641c1c3d5f665a684f7250f82955869ef9a9.zip
Fix an uninitialized variable warning
(This used to be commit 4cc09ec40609484c973361a0cc0f05bfaef1738e)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index 053f57ec36..15c7d710d0 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -1075,6 +1075,7 @@ WERROR _srvsvc_NetFileEnum(pipes_struct *p,
ctx = talloc_tos();
ctr3 = r->in.info_ctr->ctr.ctr3;
if (!ctr3) {
+ werr = WERR_INVALID_PARAM;
goto done;
}