diff options
author | Volker Lendecke <vl@samba.org> | 2009-05-10 07:42:55 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-05-10 07:43:24 +0200 |
commit | 831b73ec82717c3c73ea1250f9c94228d251c1ec (patch) | |
tree | cfa9dbd39c59462c35ebd445f30c899be14e3669 /libcli/named_pipe_auth | |
parent | 46dea8c24750b98ca589777904cc05e4e3e92d71 (diff) | |
download | samba-831b73ec82717c3c73ea1250f9c94228d251c1ec.tar.gz samba-831b73ec82717c3c73ea1250f9c94228d251c1ec.tar.bz2 samba-831b73ec82717c3c73ea1250f9c94228d251c1ec.zip |
Fix an unitialized variable warning
Diffstat (limited to 'libcli/named_pipe_auth')
-rw-r--r-- | libcli/named_pipe_auth/npa_tstream.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcli/named_pipe_auth/npa_tstream.c b/libcli/named_pipe_auth/npa_tstream.c index 57e841860c..fdb55c7e82 100644 --- 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; |