From 688abcc90745515f7e143ef8cf1e938239db597c Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Mon, 20 Feb 2017 08:27:51 +0530 Subject: libglusterfs, gfdb, glusterfs: Add missing breaks A few switches did not have breaks causing fall throughs. Most of them have been fixed with fall through comments for those that are intentional. Change-Id: I84c85726b542f38504b50fefab5eba5dbcd27a07 BUG: 1424894 Signed-off-by: Nigel Babu Reviewed-on: https://review.gluster.org/16677 NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Smoke: Gluster Build System Reviewed-by: Jeff Darcy Reviewed-by: Shyamsundar Ranganathan --- libglusterfs/src/gfdb/gfdb_sqlite3.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs/src/gfdb') diff --git a/libglusterfs/src/gfdb/gfdb_sqlite3.c b/libglusterfs/src/gfdb/gfdb_sqlite3.c index 70e38855fde..16930504742 100644 --- a/libglusterfs/src/gfdb/gfdb_sqlite3.c +++ b/libglusterfs/src/gfdb/gfdb_sqlite3.c @@ -1456,6 +1456,7 @@ gf_sqlite3_vacuum (void *db_conn, gf_boolean_t compact_active, break; case GF_SQL_COMPACT_MANUAL: changing_pragma = _gf_false; + break; default: ret = -1; gf_msg (GFDB_STR_SQLITE3, GF_LOG_ERROR, 0, -- cgit