[vlc-devel] [Patch] Solving an unused variable problem

Hugo Beauzee-Luyssen beauze.h at gmail.com
Thu Aug 20 18:28:26 CEST 2009


Hi all.

In OSD module, in osd_menu.h, a ppsz_button_states is declared.
When parser.c includes this file, it doesn't use this variable, which
makes gcc angry, especially with the new Werror setting :p

This patch solves it, in a "not to nasty way", since the only other
way i can think of is to have a single header file with the variable
declaration/definition in it...

Regards,

-- 
Hugo Beauzée-Luyssen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Solved-unused-variable-problem.patch
Type: text/x-patch
Size: 1587 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090820/19a2e19b/attachment.bin>


More information about the vlc-devel mailing list