From 73c0d68acd713fcb9386048ca5b5ddaa2cf27e24 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 18 Feb 2015 16:55:42 +0100 Subject: [PATCH] xbps-remove: do not bother to print useless msgs about unknown states. Those states are not meaningful for the application. --- bin/xbps-remove/main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/xbps-remove/main.c b/bin/xbps-remove/main.c index 143884a5..0636df8e 100644 --- a/bin/xbps-remove/main.c +++ b/bin/xbps-remove/main.c @@ -117,10 +117,6 @@ state_cb_rm(const struct xbps_state_cb_data *xscd, void *cbdata _unused) syslog(LOG_ERR, "%s", xscd->desc); } break; - default: - xbps_dbg_printf(xscd->xhp, - "%s: unknown state %d\n", xscd->arg, xscd->state); - break; } return 0;