On 11/14/2017 02:18 PM, Adam Jackson wrote: > On Tue, 2017-11-14 at 14:03 -0800, Ian Romanick wrote: > >>> static void >>> indirect_unbind_context(struct glx_context *gc, struct glx_context *new) >>> { >> >> Mark the parameters UNUSED so that I don't get extra warnings. :) > > How do I provoke these warnings in my own build?
I use -Wall -Wextra -Wunsafe-loop-optimizations -Werror=format-security -Wno-sign-compare, but I think -Wunused (set by -Wall) is sufficient to provoke this particular warning. > - ajax _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev