Remove some warnings introduced with the last change
This commit is contained in:
parent
08d269634a
commit
b4f260f501
@ -101,7 +101,9 @@ int tc_main(int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
int fd;
|
int fd;
|
||||||
int errval = 0;
|
int errval = 0;
|
||||||
|
#ifdef CONFIG_EXAMPLES_TOUCHSCREEN_ARCHINIT
|
||||||
int ret;
|
int ret;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* If this example is configured as an NX add-on, then limit the number of
|
/* 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
|
* samples that we collect before returning. Otherwise, we never return
|
||||||
@ -255,9 +257,9 @@ errout_with_dev:
|
|||||||
errout_with_tc:
|
errout_with_tc:
|
||||||
#ifdef CONFIG_EXAMPLES_TOUCHSCREEN_ARCHINIT
|
#ifdef CONFIG_EXAMPLES_TOUCHSCREEN_ARCHINIT
|
||||||
arch_tcuninitialize();
|
arch_tcuninitialize();
|
||||||
#endif
|
|
||||||
|
|
||||||
errout:
|
errout:
|
||||||
|
#endif
|
||||||
message("Terminating!\n");
|
message("Terminating!\n");
|
||||||
msgflush();
|
msgflush();
|
||||||
return errval;
|
return errval;
|
||||||
|
Loading…
Reference in New Issue
Block a user