git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46dea8c
)
Fix an unitialized variable warning
author
Volker Lendecke
<vl@samba.org>
Sun, 10 May 2009 05:42:55 +0000
(07:42 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 10 May 2009 05:43:24 +0000
(07:43 +0200)
libcli/named_pipe_auth/npa_tstream.c
patch
|
blob
|
history
diff --git
a/libcli/named_pipe_auth/npa_tstream.c
b/libcli/named_pipe_auth/npa_tstream.c
index 57e841860ce45760fc9e7b331ab48c40e7179cca..fdb55c7e826dedd08ed00d341eb6522fc05b248a 100644
(file)
--- a/
libcli/named_pipe_auth/npa_tstream.c
+++ b/
libcli/named_pipe_auth/npa_tstream.c
@@
-458,6
+458,9
@@
static ssize_t tstream_npa_pending_bytes(struct tstream_context *stream)
case FILE_TYPE_MESSAGE_MODE_PIPE:
ret = npas->pending.iov_len;
break;
+
+ default:
+ ret = -1;
}
return ret;