Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Compile error



With gcc 4.8 I'm seeing this compile error:

../../../../arch/xen/xen/clock.c: In function 'xen_initclocks':
../../../../arch/xen/xen/clock.c:422:6: error: variable 'err' set but not used 
[-Werror=unused-but-set-variable]
  int err;
      ^
cc1: all warnings being treated as errors

The err variable is only used in KASSERTs, I'm building without DEBUG.

Robert Swindells


Home | Main Index | Thread Index | Old Index