On quarta-feira, 22 de maio de 2013 10.20.05, ppaala...@gmail.com wrote:
> Apparently some compilers complain about set but not used variables
> 'available' and 'bufs', but I don't get the warning. Still, separate the
> debugging code from shm_surface_buffer_release(), so that we only
> compute 'bufs' when it is printed. This should fix the warnings

Set-but-unused is a new warning in GCC 4.7 and, as most warnings of its type, 
sometimes it triggers only in release (optimised) mode. If you're building 
with -O0 or an older GCC, you might not have seen it.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to