[vlc-devel] commit: Revert "signals: Remove a false warning about no return value." ( Pierre d'Herbemont )

git version control git at videolan.org
Wed Aug 26 11:14:24 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Wed Aug 26 11:13:16 2009 +0200| [18ed8d72190c5d35dc66b9c4e2b89ea1780a428d] | committer: Pierre d'Herbemont 

Revert "signals: Remove a false warning about no return value."

This reverts commit 8510313d246ed6aeff244b5414f088309077ea95.

Don't commit late things, without reading the justification.

This is generating dead code, and produce a warning on newer gcc version for that.

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

 modules/control/signals.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/modules/control/signals.c b/modules/control/signals.c
index 69650e1..7acf926 100644
--- a/modules/control/signals.c
+++ b/modules/control/signals.c
@@ -118,5 +118,4 @@ static void *SigThread (void *data)
     pthread_sigmask (SIG_UNBLOCK, &set, NULL);
     for (;;)
         pause ();
-    return NULL;
 }




More information about the vlc-devel mailing list