From f31c1733d930c4b4d4b5d55e6cfadf0059eafc0c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 28 Jun 2015 19:14:27 +0200 Subject: [PATCH] Silence MSVC warnings --- menu/intl/menu_hash_eo.c | 2 ++ menu/intl/menu_hash_es.c | 2 ++ menu/intl/menu_hash_fr.c | 1 + menu/intl/menu_hash_nl.c | 1 + 4 files changed, 6 insertions(+) diff --git a/menu/intl/menu_hash_eo.c b/menu/intl/menu_hash_eo.c index 1061b899fe..76651113aa 100644 --- a/menu/intl/menu_hash_eo.c +++ b/menu/intl/menu_hash_eo.c @@ -23,6 +23,7 @@ const char *menu_hash_to_str_eo(uint32_t hash) { switch (hash) { + case 0: default: break; } @@ -34,6 +35,7 @@ int menu_hash_get_help_eo(uint32_t hash, char *s, size_t len) { switch (hash) { + case 0: default: return -1; } diff --git a/menu/intl/menu_hash_es.c b/menu/intl/menu_hash_es.c index 63da31d7d0..5298f245ee 100644 --- a/menu/intl/menu_hash_es.c +++ b/menu/intl/menu_hash_es.c @@ -23,6 +23,7 @@ const char *menu_hash_to_str_es(uint32_t hash) { switch (hash) { + case 0: default: break; } @@ -34,6 +35,7 @@ int menu_hash_get_help_es(uint32_t hash, char *s, size_t len) { switch (hash) { + case 0: default: return -1; } diff --git a/menu/intl/menu_hash_fr.c b/menu/intl/menu_hash_fr.c index b2094ca060..faba7d4def 100644 --- a/menu/intl/menu_hash_fr.c +++ b/menu/intl/menu_hash_fr.c @@ -848,6 +848,7 @@ int menu_hash_get_help_fr(uint32_t hash, char *s, size_t len) switch (hash) { + case 0: default: return -1; } diff --git a/menu/intl/menu_hash_nl.c b/menu/intl/menu_hash_nl.c index 89f497bb42..10808c6e9e 100644 --- a/menu/intl/menu_hash_nl.c +++ b/menu/intl/menu_hash_nl.c @@ -850,6 +850,7 @@ int menu_hash_get_help_nl(uint32_t hash, char *s, size_t len) { switch (hash) { + case 0: default: strlcpy(s, "Geen informatie beschikbaar.", len); return -1;