summaryrefslogtreecommitdiff
path: root/3rdparty/libconfig/libconfig.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-10 21:08:18 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-10 21:08:18 +0300
commit12af580f39d7d835ba2a13c64291d4315b723a07 (patch)
treeea945f568df21bad7754d5d6ce902ead64c183d7 /3rdparty/libconfig/libconfig.c
parent248285d5a4be058b6abb40a9e31fff189bd2f598 (diff)
downloadhercules-12af580f39d7d835ba2a13c64291d4315b723a07.tar.gz
hercules-12af580f39d7d835ba2a13c64291d4315b723a07.tar.bz2
hercules-12af580f39d7d835ba2a13c64291d4315b723a07.tar.xz
hercules-12af580f39d7d835ba2a13c64291d4315b723a07.zip
Fix implicit-fallthrough warnings in libconfig.c
Diffstat (limited to '3rdparty/libconfig/libconfig.c')
-rw-r--r--3rdparty/libconfig/libconfig.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/3rdparty/libconfig/libconfig.c b/3rdparty/libconfig/libconfig.c
index 5b6eaac73..9077b0131 100644
--- a/3rdparty/libconfig/libconfig.c
+++ b/3rdparty/libconfig/libconfig.c
@@ -860,6 +860,7 @@ static int __config_setting_get_int(const struct config_setting_t *setting,
}
else
{ /* fall through */ }
+ return(CONFIG_FALSE);
default:
return(CONFIG_FALSE);
@@ -898,6 +899,7 @@ static int __config_setting_get_int64(const struct config_setting_t *setting,
}
else
{ /* fall through */ }
+ return(CONFIG_FALSE);
default:
return(CONFIG_FALSE);
@@ -965,6 +967,7 @@ static int __config_setting_get_float(const struct config_setting_t *setting,
}
else
{ /* fall through */ }
+ return(CONFIG_FALSE);
default:
return(CONFIG_FALSE);