[pacman-dev] [PATCH] Flag parameters of mount_point_load_fsinfo as potentially unused
21 Dec
2013
21 Dec
'13
8:58 a.m.
Fixes build issue on FreeBSD. Signed-off-by: Allan McRae <allan@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
3976
Age (days ago)
3976
Last active (days ago)
0 comments
1 participants
participants (1)
-
Allan McRae