diff options
author | Volker Lendecke <vl@samba.org> | 2011-11-28 14:34:00 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-11-28 14:52:31 +0100 |
commit | f094cc3ade2466d4c51b4d8ceaff67be281fda87 (patch) | |
tree | 89b5c9026aa99c73bb709f7c280bb3ecce2cdfc9 | |
parent | 0d4fc19ac764bc1b5b316867b50f7bc33cef9f9b (diff) | |
download | samba-f094cc3ade2466d4c51b4d8ceaff67be281fda87.tar.gz samba-f094cc3ade2466d4c51b4d8ceaff67be281fda87.tar.bz2 samba-f094cc3ade2466d4c51b4d8ceaff67be281fda87.zip |
Fix Coverity ID 2639: UNUSED_VALUE
-rw-r--r-- | libcli/smb/smbXcli_base.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c index e3d7a26ae7..b35db9efcd 100644 --- a/libcli/smb/smbXcli_base.c +++ b/libcli/smb/smbXcli_base.c @@ -3697,7 +3697,6 @@ static NTSTATUS smbXcli_negprot_dispatch_incoming(struct smbXcli_conn *conn, struct tevent_req *subreq; struct smbXcli_req_state *substate; struct tevent_req *req; - struct smbXcli_negprot_state *state; uint32_t protocol_magic = IVAL(inbuf, 4); if (num_pending != 1) { @@ -3707,7 +3706,6 @@ static NTSTATUS smbXcli_negprot_dispatch_incoming(struct smbXcli_conn *conn, subreq = conn->pending[0]; substate = tevent_req_data(subreq, struct smbXcli_req_state); req = tevent_req_callback_data(subreq, struct tevent_req); - state = tevent_req_data(req, struct smbXcli_negprot_state); switch (protocol_magic) { case SMB_MAGIC: |