From 4ff2a51c1571c38412ea0a890eb0ab6d57085a78 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Wed, 6 May 1998 12:11:35 +0000 Subject: compiler warning for unimportant uninitialised variable (This used to be commit 81bf26309248b63cc7e167170a8b384c11126ded) --- source3/rpc_server/srv_pipe_hnd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3') diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index 95aa46fd9a..8abfb54c8f 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -146,18 +146,16 @@ int open_rpc_pipe_hnd(char *pipe_name, int cnum, uint16 vuid) ****************************************************************************/ int read_pipe(uint16 pnum, char *data, uint32 pos, int n) { - int data_hdr_pos; - int data_pos; pipes_struct *p = &Pipes[pnum - PIPE_HANDLE_OFFSET]; DEBUG(6,("read_pipe: %x", pnum)); if (VALID_PNUM(pnum - PIPE_HANDLE_OFFSET)) { - DEBUG(6,("name: %s cnum: %d open: %s data_pos: %d len: %d", + DEBUG(6,("name: %s cnum: %d open: %s pos: %d len: %d", p->name, p->cnum, BOOLSTR(p->open), - data_pos, n)); + pos, n)); } if (OPEN_PNUM(pnum - PIPE_HANDLE_OFFSET)) @@ -165,6 +163,8 @@ int read_pipe(uint16 pnum, char *data, uint32 pos, int n) int num = 0; int len = 0; uint32 hdr_num = 0; + int data_hdr_pos; + int data_pos; DEBUG(6,("OK\n")); -- cgit