Commit da4c64e2 authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Fix compiler warnings about unused value by casting va_arg calls with

2008-03-23  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-file-operations.c
	(custom_full_name_skip), (custom_basename_skip),
	(custom_size_skip), (custom_time_skip), (custom_mount_skip):
	Fix compiler warnings about unused value by casting va_arg calls with
	unused return values to void. (#523908).

svn path=/trunk/; revision=13975
parent 5fd98d6e
2008-03-23 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-file-operations.c
(custom_full_name_skip), (custom_basename_skip),
(custom_size_skip), (custom_time_skip), (custom_mount_skip):
Fix compiler warnings about unused value by casting va_arg calls with
unused return values to void. (#523908).
2008-03-22 Christian Neumair <cneumair@gnome.org>
* src/file-manager/fm-directory-view.c
......
......@@ -610,7 +610,7 @@ custom_full_name_to_string (char *format, va_list va)
static void
custom_full_name_skip (va_list *va)
{
va_arg (*va, GFile *);
(void) va_arg (*va, GFile *);
}
static char *
......@@ -657,7 +657,7 @@ custom_basename_to_string (char *format, va_list va)
static void
custom_basename_skip (va_list *va)
{
va_arg (*va, GFile *);
(void) va_arg (*va, GFile *);
}
......@@ -673,7 +673,7 @@ custom_size_to_string (char *format, va_list va)
static void
custom_size_skip (va_list *va)
{
va_arg (*va, goffset);
(void) va_arg (*va, goffset);
}
static char *
......@@ -688,7 +688,7 @@ custom_time_to_string (char *format, va_list va)
static void
custom_time_skip (va_list *va)
{
va_arg (*va, int);
(void) va_arg (*va, int);
}
static char *
......@@ -703,7 +703,7 @@ custom_mount_to_string (char *format, va_list va)
static void
custom_mount_skip (va_list *va)
{
va_arg (*va, GMount *);
(void) va_arg (*va, GMount *);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment