Subject: more fallout from unused changes
To: None <current-users@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: current-users
Date: 10/14/2006 09:05:23
src/sys/compat/linux/arch/i386/linux_machdep.c: linux_sys_modify_ldt()
when USER_LDT is not defined
--- sys/compat/linux/arch/i386/linux_machdep.c.org 2006-10-12 15:12:19.000000000 +1000
+++ sys/compat/linux/arch/i386/linux_machdep.c 2006-10-14 18:59:49.000000000 +1000
@@ -727,6 +727,8 @@
case 0x11:
retval[0] = 0;
return linux_write_ldt(l, uap, retval);
+#else
+ do { if (&l || &retval) {} } while (/* CONSTCOND */ 0); /* shut up -Wunused */
#endif /* USER_LDT */
default:
Regards,
Geoff