diff --git a/vtest/vtest_renderer.c b/vtest/vtest_renderer.c index 292f631..3611cda 100644 --- a/vtest/vtest_renderer.c +++ b/vtest/vtest_renderer.c @@ -277,7 +277,6 @@ int vtest_resource_busy_wait(void) { uint32_t bw_buf[VCMD_BUSY_WAIT_SIZE]; int ret; - int handle; int flags; uint32_t hdr_buf[VTEST_HDR_SIZE]; uint32_t reply_buf[1]; @@ -286,7 +285,7 @@ int vtest_resource_busy_wait(void) if (ret != sizeof(bw_buf)) return -1; - handle = bw_buf[VCMD_BUSY_WAIT_HANDLE]; + /* handle = bw_buf[VCMD_BUSY_WAIT_HANDLE]; unused as of now */ flags = bw_buf[VCMD_BUSY_WAIT_FLAGS]; if (flags == VCMD_BUSY_WAIT_FLAG_WAIT) { diff --git a/vtest/vtest_server.c b/vtest/vtest_server.c index 947dacf..21a4d8e 100644 --- a/vtest/vtest_server.c +++ b/vtest/vtest_server.c @@ -142,7 +142,7 @@ fail: int main(int argc, char **argv) { - int sock, new_fd, ret; + int sock, new_fd; pid_t pid; bool do_fork = true; struct sigaction sa;