Commit f4b8250a authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

osd: Fix a unused variable warning.

Reported by Hugo Beauzée-Luyssen.
parent b827afa2
......@@ -37,6 +37,8 @@
#undef OSD_MENU_DEBUG
const char * const ppsz_button_states[] = { "unselect", "select", "pressed" };
/*****************************************************************************
* Local prototypes
*****************************************************************************/
......
......@@ -24,7 +24,7 @@
#ifndef _OSD_MENU_PARSER_H_
#define _OSD_MENU_PARSER_H_
static const char *ppsz_button_states[] = { "unselect", "select", "pressed" };
extern const char * const ppsz_button_states[3];
/* OSD Menu structure support routines for internal use by
* OSD Menu configuration file parsers only.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment