diff options
Diffstat (limited to 'src/afm-system-daemon.c')
-rw-r--r-- | src/afm-system-daemon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afm-system-daemon.c b/src/afm-system-daemon.c index 49749bc..e0557f4 100644 --- a/src/afm-system-daemon.c +++ b/src/afm-system-daemon.c @@ -103,6 +103,7 @@ static void on_install(struct sd_bus_message *smsg, struct json_object *req, voi reload = j_boolean_at(req, "reload", 1); break; } + /*@fallthrough@*/ default: jbus_reply_error_s(smsg, error_bad_request); return; @@ -150,6 +151,7 @@ static void on_uninstall(struct sd_bus_message *smsg, struct json_object *req, v root = j_string_at(req, "root", rootdir); break; } + /*@fallthrough@*/ default: jbus_reply_error_s(smsg, error_bad_request); return; |