Misc cleanups: use __attribute__((__unused__)); remove dead code.
This commit is contained in:
@@ -51,12 +51,10 @@ usage(bool fail)
|
||||
}
|
||||
|
||||
static void
|
||||
state_cb(struct xbps_state_cb_data *xscd, void *cbd)
|
||||
state_cb(struct xbps_state_cb_data *xscd, void *cbd _unused)
|
||||
{
|
||||
bool syslog_enabled = false;
|
||||
|
||||
(void)cbd;
|
||||
|
||||
if (xscd->xhp->flags & XBPS_FLAG_SYSLOG) {
|
||||
syslog_enabled = true;
|
||||
openlog("xbps-reconfigure", LOG_CONS, LOG_USER);
|
||||
|
Reference in New Issue
Block a user