The branch, master has been updated
       via  cea24c4... Remove an unused auto variable.
      from  ba53707... libwbclient: wbcFreeMemory deals fine with a NULL pointer

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit cea24c4620a782fec4a5e6da0892c9fa6d712d6a
Author: Jeremy Allison <[email protected]>
Date:   Mon Apr 19 11:38:49 2010 -0700

    Remove an unused auto variable.
    
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/smb2_server.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 55111da..72c2dbd 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -1283,7 +1283,6 @@ NTSTATUS smbd_smb2_request_done_ex(struct 
smbd_smb2_request *req,
                                   const char *location)
 {
        uint8_t *outhdr;
-       uint8_t *outdyn;
        int i = req->current_idx;
        uint32_t next_command_ofs;
 
@@ -1303,8 +1302,6 @@ NTSTATUS smbd_smb2_request_done_ex(struct 
smbd_smb2_request *req,
        }
 
        outhdr = (uint8_t *)req->out.vector[i].iov_base;
-       /* the fallback dynamic buffer */
-       outdyn = outhdr + SMB2_HDR_BODY + 8;
 
        next_command_ofs = IVAL(outhdr, SMB2_HDR_NEXT_COMMAND);
        SIVAL(outhdr, SMB2_HDR_STATUS, NT_STATUS_V(status));


-- 
Samba Shared Repository

Reply via email to