[vlc-devel] commit: Actually return the number of static entries as stated in the function header . (Dominique Leuenberger )
git version control
git at videolan.org
Mon Dec 29 19:33:42 CET 2008
vlc | branch: master | Dominique Leuenberger <dominique at leuenberger.net> | Sun Dec 21 21:30:06 2008 +0100| [e4341e19b8364135bad35569e475ce224c4d5f02] | committer: Rémi Duraffort
Actually return the number of static entries as stated in the function header.
Fixes E: vlc-beta no-return-in-nonvoid-function menus.cpp:140
Signed-off-by: Rémi Duraffort <ivoire at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e4341e19b8364135bad35569e475ce224c4d5f02
---
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;
}
/***
More information about the vlc-devel
mailing list