[vlc-commits] macosx: fix some static code analysis warnings

David Fuhrmann git at videolan.org
Tue Mar 4 18:16:35 CET 2014


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Tue Mar  4 18:09:24 2014 +0100| [827b8e61eba8d893a144510142fa905979588c31] | committer: David Fuhrmann

macosx: fix some static code analysis warnings

Most of them are memleaks, uninitialized values, unused code
and type mismatches (float / int vs. CGFloat, uint vs. int)

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

 modules/gui/macosx/AudioEffects.m            |    8 ++++---
 modules/gui/macosx/ControlsBar.m             |   32 ++++++++++++++++++++++----
 modules/gui/macosx/ConvertAndSave.m          |    2 +-
 modules/gui/macosx/CoreInteraction.m         |   15 ++----------
 modules/gui/macosx/MainMenu.m                |   10 ++++----
 modules/gui/macosx/MainWindow.h              |    4 ++--
 modules/gui/macosx/MainWindow.m              |   30 ++++++++++++------------
 modules/gui/macosx/VLCVoutWindowController.m |    2 +-
 modules/gui/macosx/VideoView.m               |    3 ---
 modules/gui/macosx/Windows.m                 |   24 +++++++++----------
 modules/gui/macosx/about.h                   |    2 +-
 modules/gui/macosx/bookmarks.m               |    3 +--
 modules/gui/macosx/intf.m                    |    6 ++---
 modules/gui/macosx/macosx.m                  |    1 -
 modules/gui/macosx/misc.h                    |    2 +-
 modules/gui/macosx/misc.m                    |    5 +---
 modules/gui/macosx/open.m                    |    4 ++--
 modules/gui/macosx/output.m                  |    3 +--
 modules/gui/macosx/playlist.m                |   10 +++++---
 19 files changed, 88 insertions(+), 78 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=827b8e61eba8d893a144510142fa905979588c31


More information about the vlc-commits mailing list