Misc cleanups: use __attribute__((__unused__)); remove dead code.

This commit is contained in:
Juan RP
2013-08-29 10:45:30 +02:00
parent efcb373f96
commit a039330f3c
15 changed files with 56 additions and 111 deletions

View File

@ -43,13 +43,10 @@
* and remove them if that was true.
*/
int
check_pkg_unneeded(struct xbps_handle *xhp, const char *pkgname, void *arg)
check_pkg_unneeded(struct xbps_handle *xhp _unused, const char *pkgname _unused, void *arg)
{
xbps_dictionary_t pkgd = arg;
(void)xhp;
(void)pkgname;
if (xbps_dictionary_get(pkgd, "remove-and-update"))
xbps_dictionary_remove(pkgd, "remove-and-update");