aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeebs <seebs@seebs.net>2018-09-20 13:56:23 -0500
committerSeebs <seebs@seebs.net>2018-09-20 13:56:23 -0500
commit82b22f9d8cea2f8b29428b500bd1cefd412afbe2 (patch)
tree5f9c4478c42fa44c3a94c5ecdd8bf223e9f9e2d9
parentca86e30df5e6a9f51af677af8691c86a3f894555 (diff)
downloadpseudo-82b22f9d8cea2f8b29428b500bd1cefd412afbe2.tar.gz
pseudo-82b22f9d8cea2f8b29428b500bd1cefd412afbe2.tar.bz2
pseudo-82b22f9d8cea2f8b29428b500bd1cefd412afbe2.zip
fix gcc7 warning
-rw-r--r--ChangeLog.txt1
-rw-r--r--pseudo.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index d2a8862..6bbace5 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,6 +1,7 @@
2018-09-20:
* (seebs) coerce inodes to signed int64_t range when shoving
them into sqlite.
+ * (seebs) add another /*fallthrough*/ comment to make gcc7 happy.
2018-04-13:
* (seebs) Reduce spamminess of path mismatches.
diff --git a/pseudo.c b/pseudo.c
index 4dfd017..c4440ab 100644
--- a/pseudo.c
+++ b/pseudo.c
@@ -1019,6 +1019,7 @@ pseudo_op(pseudo_msg_t *msg, const char *program, const char *tag, char **respon
if (msg->op == OP_REPLACE_XATTR) {
xattr_flags = XATTR_REPLACE;
}
+ /* fallthrough */
case OP_SET_XATTR:
if (pdb_set_xattr(msg, oldpath, oldpathlen, xattr_flags)) {
msg->result = RESULT_FAIL;