Warnings removed

This commit is contained in:
Bertrand Songis
2016-12-19 23:20:11 +01:00
parent 7da9aa811a
commit 7343ad0de5
3 changed files with 17 additions and 1 deletions
+4 -1
View File
@@ -101,7 +101,7 @@ void readTextFile(int & lines_count)
#define EVT_KEY_NEXT_LINE EVT_KEY_FIRST(KEY_DOWN)
#define EVT_KEY_PREVIOUS_LINE EVT_KEY_FIRST(KEY_UP)
#endif
void menuTextView(event_t event)
{
static int lines_count;
@@ -159,3 +159,6 @@ void pushMenuTextView(const char *filename)
pushMenu(menuTextView);
}
}
#undef EVT_KEY_NEXT_LINE
#undef EVT_KEY_PREVIOUS_LINE