Jeff Bailey <[EMAIL PROTECTED]> writes:

> When compiling with gcc-3.0, I get the following warning:
> 
> In file included from ../sysdeps/mach/hurd/uname.c:21:
> ../hurd/hurd.h: In function `__hurd_fail':
> ../hurd/hurd.h:71: warning: deprecated use of label at end of compound statement
> 
> It appears from looking at locale/programs/locale.c (Thanks mmenal!)
> that this is the way to fix it.

Adding an empty statement should also work, like

    case 0:
      return 0;
    default:
      ;
    }

But break; may be more idiomatic.

/Niels

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to