[pacman-dev] [PATCH] Flag parameters of mount_point_load_fsinfo as potentially unused

Allan McRae allan at archlinux.org
Sat Dec 21 02:58:59 EST 2013


Fixes build issue on FreeBSD.

Signed-off-by: Allan McRae <allan at archlinux.org>
---
 lib/libalpm/diskspace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/diskspace.c
index dcab3b0..66d83c2 100644
--- a/lib/libalpm/diskspace.c
+++ b/lib/libalpm/diskspace.c
@@ -69,7 +69,7 @@ static void mount_point_list_free(alpm_list_t *mount_points)
 	FREELIST(mount_points);
 }
 
-static int mount_point_load_fsinfo(alpm_handle_t *handle, alpm_mountpoint_t *mountpoint)
+static int mount_point_load_fsinfo(alpm_handle_t UNUSED *handle, alpm_mountpoint_t UNUSED *mountpoint)
 {
 #if defined(HAVE_GETMNTENT)
 	/* grab the filesystem usage */
-- 
1.8.5.2



More information about the pacman-dev mailing list