s3: remove unused variable
authorBjörn Jacke <bj@sernet.de>
Mon, 25 Jan 2010 22:24:35 +0000 (23:24 +0100)
committerBjörn Jacke <bj@sernet.de>
Mon, 25 Jan 2010 23:19:10 +0000 (00:19 +0100)
source3/libsmb/clireadwrite.c

index 6342de484c206ae1bd1ee0cfdf3bbaaeb1c4da61..65678740de66d8d60b166b0f04c4372c55912ac1 100644 (file)
@@ -88,7 +88,6 @@ struct tevent_req *cli_read_andx_create(TALLOC_CTX *mem_ctx,
 {
        struct tevent_req *req, *subreq;
        struct cli_read_andx_state *state;
-       bool bigoffset = False;
        uint8_t wct = 10;
 
        if (size > cli_read_max_bufsize(cli)) {
@@ -116,7 +115,6 @@ struct tevent_req *cli_read_andx_create(TALLOC_CTX *mem_ctx,
        SSVAL(state->vwv + 9, 0, 0);
 
        if ((uint64_t)offset >> 32) {
-               bigoffset = true;
                SIVAL(state->vwv + 10, 0,
                      (((uint64_t)offset)>>32) & 0xffffffff);
                wct += 2;