diff --git a/bin/xbps-reconfigure/main.c b/bin/xbps-reconfigure/main.c index 9cb45edf..38c8b5a9 100644 --- a/bin/xbps-reconfigure/main.c +++ b/bin/xbps-reconfigure/main.c @@ -79,6 +79,8 @@ state_cb(const struct xbps_state_cb_data *xscd, void *cbd _unused) if (slog) syslog(LOG_ERR, "%s", xscd->desc); break; + default: + break; } return 0; diff --git a/bin/xbps-remove/main.c b/bin/xbps-remove/main.c index 0636df8e..1ea9337a 100644 --- a/bin/xbps-remove/main.c +++ b/bin/xbps-remove/main.c @@ -117,6 +117,8 @@ state_cb_rm(const struct xbps_state_cb_data *xscd, void *cbdata _unused) syslog(LOG_ERR, "%s", xscd->desc); } break; + default: + break; } return 0;