rbug: remove set-but-unused variables
[mesa.git] / src / gallium / auxiliary / rbug / rbug_context.c
index 36824058c7dc19d04512d386a5d9153d02725df2..1188dd966e4664d7bf3240670362c90bbcd451f4 100644 (file)
@@ -470,9 +470,6 @@ int rbug_send_context_draw_blocked(struct rbug_connection *__con,
 
 struct rbug_proto_context_list * rbug_demarshal_context_list(struct rbug_proto_header *header)
 {
-       uint32_t len = 0;
-       uint32_t pos = 0;
-       uint8_t *data =  NULL;
        struct rbug_proto_context_list *ret;
 
        if (!header)
@@ -480,9 +477,6 @@ struct rbug_proto_context_list * rbug_demarshal_context_list(struct rbug_proto_h
        if (header->opcode != (int32_t)RBUG_OP_CONTEXT_LIST)
                return NULL;
 
-       pos = 0;
-       len = header->length * 4;
-       data = (uint8_t*)&header[1];
        ret = MALLOC(sizeof(*ret));
        if (!ret)
                return NULL;
@@ -490,7 +484,6 @@ struct rbug_proto_context_list * rbug_demarshal_context_list(struct rbug_proto_h
        ret->header.__message = header;
        ret->header.opcode = header->opcode;
 
-
        return ret;
 }