mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-07 05:27:24 +00:00
Remove some warnings introduced with the last change
This commit is contained in:
parent
08d269634a
commit
b4f260f501
1 changed files with 3 additions and 1 deletions
|
|
@ -101,7 +101,9 @@ int tc_main(int argc, char *argv[])
|
|||
#endif
|
||||
int fd;
|
||||
int errval = 0;
|
||||
#ifdef CONFIG_EXAMPLES_TOUCHSCREEN_ARCHINIT
|
||||
int ret;
|
||||
#endif
|
||||
|
||||
/* If this example is configured as an NX add-on, then limit the number of
|
||||
* samples that we collect before returning. Otherwise, we never return
|
||||
|
|
@ -255,9 +257,9 @@ errout_with_dev:
|
|||
errout_with_tc:
|
||||
#ifdef CONFIG_EXAMPLES_TOUCHSCREEN_ARCHINIT
|
||||
arch_tcuninitialize();
|
||||
#endif
|
||||
|
||||
errout:
|
||||
#endif
|
||||
message("Terminating!\n");
|
||||
msgflush();
|
||||
return errval;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue