Commit 4257d965 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

macosx: fixed a few bugs found by clang's code analysis

parent 459e2252
...@@ -1094,7 +1094,7 @@ ...@@ -1094,7 +1094,7 @@
} }
/* Special case for telx menu */ /* Special case for telx menu */
if( [[o_mi title] isEqualToString: _NS("Normal Size")] ); if( [[o_mi title] isEqualToString: _NS("Normal Size")] )
{ {
NSMenuItem *item = [[o_mi menu] itemWithTitle:_NS("Teletext")]; NSMenuItem *item = [[o_mi menu] itemWithTitle:_NS("Teletext")];
bool b_telx = p_input && var_GetInteger( p_input, "teletext-es" ) >= 0; bool b_telx = p_input && var_GetInteger( p_input, "teletext-es" ) >= 0;
......
...@@ -760,7 +760,9 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -760,7 +760,9 @@ static VLCMain *_o_sharedMainInstance = nil;
/* remove global observer watching for vout device changes correctly */ /* remove global observer watching for vout device changes correctly */
[[NSNotificationCenter defaultCenter] removeObserver: self]; [[NSNotificationCenter defaultCenter] removeObserver: self];
#ifdef UPDATE_CHECK
[o_update end]; [o_update end];
#endif
/* release some other objects here, because it isn't sure whether dealloc /* release some other objects here, because it isn't sure whether dealloc
* will be called later on */ * will be called later on */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment