[PATCH 1/3] fdisk_osf: silence warning
Bastian Blank
waldi at debian.org
Fri Nov 6 11:56:27 UTC 2009
On Fri, Nov 06, 2009 at 10:56:45AM +0100, Marc Kleine-Budde wrote:
> --- a/util-linux/fdisk_osf.c
> +++ b/util-linux/fdisk_osf.c
> @@ -964,6 +964,7 @@ xbsd_writelabel(struct partition *p)
> #if !defined(__alpha__) && !defined(__powerpc__) && !defined(__hppa__)
> sector = get_start_sect(p) + BSD_LABELSECTOR;
> #else
> + (void)p; /* silence warning */
> sector = BSD_LABELSECTOR;
> #endif
This looks bogus. The behaviour is complete different between the
different arches.
Bastian
--
Our missions are peaceful -- not for conquest. When we do battle, it
is only because we have no choice.
-- Kirk, "The Squire of Gothos", stardate 2124.5
More information about the busybox
mailing list