[vlc-commits] macosx: Do not return potentially uninitialized pointer
David Fuhrmann
git at videolan.org
Wed Mar 27 19:34:59 CET 2019
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed Mar 27 18:38:13 2019 +0100| [955f033f7a5149b35e1d1f4422bb8ca0c0104fbe] | committer: David Fuhrmann
macosx: Do not return potentially uninitialized pointer
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=955f033f7a5149b35e1d1f4422bb8ca0c0104fbe
---
modules/gui/macosx/playlist/VLCPlayerController.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/macosx/playlist/VLCPlayerController.m b/modules/gui/macosx/playlist/VLCPlayerController.m
index bdbac0fd3e..547970e085 100644
--- a/modules/gui/macosx/playlist/VLCPlayerController.m
+++ b/modules/gui/macosx/playlist/VLCPlayerController.m
@@ -1366,7 +1366,7 @@ static const struct vlc_player_aout_cbs player_aout_callbacks = {
- (NSString *)videoFilterChainForType:(enum vlc_vout_filter_type)filterType
{
- NSString *ret;
+ NSString *ret = nil;
char *psz_filterChain = vlc_player_vout_GetFilter(_p_player, filterType);
if (psz_filterChain != NULL) {
ret = [NSString stringWithUTF8String:psz_filterChain];
More information about the vlc-commits
mailing list