From: Daniel Stone Date: Wed, 7 Nov 2012 06:51:36 +0000 (+1100) Subject: smoke: Remove unused offset member X-Git-Tag: submit/2.0alpha-wayland/20121121.143012~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4eb445abba77f8393d17c5deef9bc872af0675bb;p=profile%2Fivi%2Fweston.git smoke: Remove unused offset member Signed-off-by: Daniel Stone --- diff --git a/clients/smoke.c b/clients/smoke.c index 905e53f..80b8c58 100644 --- a/clients/smoke.c +++ b/clients/smoke.c @@ -37,7 +37,7 @@ struct smoke { struct window *window; struct widget *widget; int width, height; - int offset, current; + int current; uint32_t time; struct { float *d, *u, *v; } b[2]; }; @@ -295,7 +295,6 @@ int main(int argc, char *argv[]) window_set_buffer_type(smoke.window, WINDOW_BUFFER_TYPE_SHM); clock_gettime(CLOCK_MONOTONIC, &ts); srandom(ts.tv_nsec); - smoke.offset = random(); smoke.current = 0; size = smoke.height * smoke.width;