Add an assertion that the assertions are not removed.

This commit is contained in:
Alcaro 2015-06-28 10:41:31 +02:00
parent bb41da24e3
commit 7037ceaca8
3 changed files with 9 additions and 0 deletions

View File

@ -857,6 +857,9 @@ int menu_hash_get_help_de(uint32_t hash, char *s, size_t len)
uint32_t driver_hash = 0;
settings_t *settings = config_get_ptr();
/* If this one throws errors, stop sledgehammering square pegs */ (void)sizeof(force_iso_8859_1);
/* into round holes and READ THE COMMENTS at the top of the file. */
switch (hash)
{
case MENU_LABEL_INPUT_DRIVER:

View File

@ -843,6 +843,9 @@ const char *menu_hash_to_str_fr(uint32_t hash)
int menu_hash_get_help_fr(uint32_t hash, char *s, size_t len)
{
/* If this one throws errors, stop sledgehammering square pegs */ (void)sizeof(force_iso_8859_1);
/* into round holes and READ THE COMMENTS at the top of the file. */
switch (hash)
{
default:

View File

@ -853,6 +853,9 @@ int menu_hash_get_help_pt(uint32_t hash, char *s, size_t len)
uint32_t driver_hash = 0;
settings_t *settings = config_get_ptr();
/* If this one throws errors, stop sledgehammering square pegs */ (void)sizeof(force_iso_8859_1);
/* into round holes and READ THE COMMENTS at the top of the file. */
switch (hash)
{
case MENU_LABEL_INPUT_DRIVER: