Fixes build issue on FreeBSD.

Signed-off-by: Allan McRae <[email protected]>
---
 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


Reply via email to