[vlc-devel] commit: Fix a warning on unused variable. (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Aug 13 02:19:01 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 12 17:20:21 2008 -0700| [9c208777ae4b25696ddd8d43fb03d5bd0d39d2dc] | committer: Jean-Baptiste Kempf 

Fix a warning on unused variable.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9c208777ae4b25696ddd8d43fb03d5bd0d39d2dc
---

 src/misc/cpu.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index 8636ee6..dba7c1f 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -330,6 +330,8 @@ static void SigHandler( int i_signal )
 
 #ifdef HAVE_SIGRELSE
     sigrelse( i_signal );
+#else
+    VLC_UNUSED( i_signal );
 #endif
 
 #if defined( __i386__ )




More information about the vlc-devel mailing list