summaryrefslogtreecommitdiff
path: root/src/common/db.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-10-01 00:16:21 +0200
committerGitHub <noreply@github.com>2016-10-01 00:16:21 +0200
commitdd71362b10e5986e034ed86db08961926440ace0 (patch)
tree119c8d409657cee1d90cd0c072ef3b7e846fa3f0 /src/common/db.c
parent84ecefb4db23bbd98194a43a592cfe313477a1ab (diff)
parent2000a698da35915afb1a598433337a735d27ae24 (diff)
downloadhercules-dd71362b10e5986e034ed86db08961926440ace0.tar.gz
hercules-dd71362b10e5986e034ed86db08961926440ace0.tar.bz2
hercules-dd71362b10e5986e034ed86db08961926440ace0.tar.xz
hercules-dd71362b10e5986e034ed86db08961926440ace0.zip
Merge pull request #1450 from 4144/gcc7fixes
Add different fixes for gcc 7 warnings.
Diffstat (limited to 'src/common/db.c')
-rw-r--r--src/common/db.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/db.c b/src/common/db.c
index bbcac4b33..0c7bc2ae0 100644
--- a/src/common/db.c
+++ b/src/common/db.c
@@ -2418,6 +2418,7 @@ enum DBOptions db_fix_options(enum DBType type, enum DBOptions options)
default:
ShowError("db_fix_options: Unknown database type %u with options %x\n", type, options);
+ FALLTHROUGH
case DB_STRING:
case DB_ISTRING: // String databases, no fix required
return options;