summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-02-25 12:19:44 +0000
committerAlexander Bokovoy <ab@samba.org>2015-02-25 16:32:29 +0100
commita99a5a34a54082162f920fcccbe5561320a5d40a (patch)
tree32aaed96eb3eade5ad47ff0b4341914f3b5cd8cd /source4/ntvfs
parentb72cc326f67d2b19f247e14424adc46275b2db25 (diff)
downloadsamba-a99a5a34a54082162f920fcccbe5561320a5d40a.tar.gz
Fix the developer O3 build
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Wed Feb 25 16:32:29 CET 2015 on sn-devel-104
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/ipc/ipc_rap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/ntvfs/ipc/ipc_rap.c b/source4/ntvfs/ipc/ipc_rap.c
index 259dcccb713..9ddde5e39d7 100644
--- a/source4/ntvfs/ipc/ipc_rap.c
+++ b/source4/ntvfs/ipc/ipc_rap.c
@@ -255,6 +255,8 @@ static NTSTATUS _rap_netshareenum(struct rap_call *call)
{
struct rap_NetShareEnum r;
NTSTATUS result;
+ uint32_t offset_save = 0;
+ struct rap_heap_save heap_save = {0};
RAP_GOTO(rap_srv_pull_word(call, &r.in.level));
RAP_GOTO(rap_srv_pull_bufsize(call, &r.in.bufsize));
@@ -282,8 +284,6 @@ static NTSTATUS _rap_netshareenum(struct rap_call *call)
for (r.out.count = 0; r.out.count < r.out.available; r.out.count++) {
int i = r.out.count;
- uint32_t offset_save;
- struct rap_heap_save heap_save;
offset_save = call->ndr_push_data->offset;
rap_heap_save(call->heap, &heap_save);
@@ -335,6 +335,8 @@ static NTSTATUS _rap_netserverenum2(struct rap_call *call)
{
struct rap_NetServerEnum2 r;
NTSTATUS result;
+ uint32_t offset_save = 0;
+ struct rap_heap_save heap_save = {0};
RAP_GOTO(rap_srv_pull_word(call, &r.in.level));
RAP_GOTO(rap_srv_pull_bufsize(call, &r.in.bufsize));
@@ -364,8 +366,6 @@ static NTSTATUS _rap_netserverenum2(struct rap_call *call)
for (r.out.count = 0; r.out.count < r.out.available; r.out.count++) {
int i = r.out.count;
- uint32_t offset_save;
- struct rap_heap_save heap_save;
offset_save = call->ndr_push_data->offset;
rap_heap_save(call->heap, &heap_save);