[vlc-devel] [PATCH] Actually return the number of static entries as stated in the function header.

Dominique Leuenberger dominique at leuenberger.net
Sun Dec 21 21:30:06 CET 2008


Fixes E: vlc-beta no-return-in-nonvoid-function menus.cpp:140
---
 modules/gui/qt4/menus.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 7be18f6..f598164 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -137,6 +137,7 @@ int DeleteNonStaticEntries( QMenu *menu )
         else
             i_ret++;
     }
+    return i_ret;
 }
 
 /***
-- 
1.5.4.5




More information about the vlc-devel mailing list