summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-06 12:11:35 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-06 12:11:35 +0000
commit4ff2a51c1571c38412ea0a890eb0ab6d57085a78 (patch)
treea9593ca2647053055fa004812990a8c44fe4e2ce /source3
parentb59916ebf77814edca91683e3fe6f30799d29dd2 (diff)
downloadsamba-4ff2a51c1571c38412ea0a890eb0ab6d57085a78.tar.gz
samba-4ff2a51c1571c38412ea0a890eb0ab6d57085a78.tar.bz2
samba-4ff2a51c1571c38412ea0a890eb0ab6d57085a78.zip
compiler warning for unimportant uninitialised variable
(This used to be commit 81bf26309248b63cc7e167170a8b384c11126ded)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c8
1 files changed, 4 insertions, 4 deletions
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"));