r9517: fix compiler warning: status.v initialized variable used in line 375
authorStefan Metzmacher <metze@samba.org>
Tue, 23 Aug 2005 13:03:39 +0000 (13:03 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:34:25 +0000 (13:34 -0500)
tridge: what should be the correct error code?
        see rev 3239!

metze
(This used to be commit 27ec849718b97df2d6f30e2fbacaa0423e918862)

source4/ntvfs/ipc/vfs_ipc.c

index 2c148fbd0cf8627097f9c51dfe652f2b4f333c18..aa0909ceb657da749e45841bc728f3e4a2554cb4 100644 (file)
@@ -372,7 +372,7 @@ static NTSTATUS ipc_read(struct ntvfs_module_context *ntvfs,
        DATA_BLOB data;
        uint16_t fnum;
        struct pipe_state *p;
-       NTSTATUS status;
+       NTSTATUS status = NT_STATUS_FOOBAR;
 
        if (rd->generic.level != RAW_READ_GENERIC) {
                return ntvfs_map_read(req, rd, ntvfs);