diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-11-07 17:51:36 +1100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-11-08 14:08:53 -0500 |
commit | 4eb445abba77f8393d17c5deef9bc872af0675bb (patch) | |
tree | 45442b2d81f79279a647db1288315250be2087cf | |
parent | cf18a32a394344254315df98342049a6f228148b (diff) |
smoke: Remove unused offset member
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-rw-r--r-- | clients/smoke.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clients/smoke.c b/clients/smoke.c index 905e53fb..80b8c58e 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; |