diff options
Diffstat (limited to 'apps/plugins/goban/goban.c')
-rw-r--r-- | apps/plugins/goban/goban.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/goban/goban.c b/apps/plugins/goban/goban.c index 0286e1cdc5..d00f0d9ab2 100644 --- a/apps/plugins/goban/goban.c +++ b/apps/plugins/goban/goban.c | |||
@@ -236,9 +236,6 @@ enum plugin_status | |||
236 | plugin_start (const void *parameter) | 236 | plugin_start (const void *parameter) |
237 | { | 237 | { |
238 | int btn; | 238 | int btn; |
239 | int temp; | ||
240 | |||
241 | (void) temp; | ||
242 | 239 | ||
243 | rb->mkdir ("/sgf"); | 240 | rb->mkdir ("/sgf"); |
244 | 241 | ||
@@ -496,6 +493,8 @@ plugin_start (const void *parameter) | |||
496 | #if defined(GBN_BUTTON_NEXT_VAR) | 493 | #if defined(GBN_BUTTON_NEXT_VAR) |
497 | case GBN_BUTTON_NEXT_VAR: | 494 | case GBN_BUTTON_NEXT_VAR: |
498 | case GBN_BUTTON_NEXT_VAR | BUTTON_REPEAT: | 495 | case GBN_BUTTON_NEXT_VAR | BUTTON_REPEAT: |
496 | { | ||
497 | int temp; | ||
499 | if ((temp = next_variation_sgf ()) >= 0) | 498 | if ((temp = next_variation_sgf ()) >= 0) |
500 | { | 499 | { |
501 | draw_screen_display (); | 500 | draw_screen_display (); |
@@ -512,6 +511,7 @@ plugin_start (const void *parameter) | |||
512 | draw_screen_display (); | 511 | draw_screen_display (); |
513 | } | 512 | } |
514 | break; | 513 | break; |
514 | } | ||
515 | #endif | 515 | #endif |
516 | 516 | ||
517 | case BUTTON_NONE: | 517 | case BUTTON_NONE: |