mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Fix Error: shift_main.c:763:7: error: variable 'score' set but not used [-Werror,-Wunused-but-set-variable]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
757552e759
commit
76fece26a2
1 changed files with 0 additions and 3 deletions
|
|
@ -760,7 +760,6 @@ int main(int argc, FAR char *argv[])
|
|||
struct input_state_s input;
|
||||
struct screen_state_s state;
|
||||
struct fb_area_s area;
|
||||
int score = 0;
|
||||
int ret;
|
||||
|
||||
/* Open the framebuffer driver */
|
||||
|
|
@ -906,8 +905,6 @@ int main(int argc, FAR char *argv[])
|
|||
}
|
||||
|
||||
usleep(500000);
|
||||
|
||||
score += 100;
|
||||
}
|
||||
|
||||
#ifdef DEBUG_SHIFT_GAME
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue