Skip to content
Snippets Groups Projects
Commit ab56d042 authored by Claudio Cambra's avatar Claudio Cambra Committed by Jean-Baptiste Kempf
Browse files

macosx: Fix warning about unused getter results in OpenIntf


Signed-off-by: default avatarClaudio Cambra <developer@claudiocambra.com>
parent 0630c0bf
No related branches found
No related tags found
1 merge request!3959macosx: Fix warning about unused getter results in OpenIntf
Pipeline #366049 passed with stage
in 17 minutes and 13 seconds
......@@ -145,8 +145,11 @@ int OpenIntf (vlc_object_t *p_this)
msg_Dbg(p_intf, "Starting macosx interface");
@try {
VLCApplication.sharedApplication;
VLCMain.sharedInstance;
VLCApplication * const application = VLCApplication.sharedApplication;
NSCAssert(application != nil, @"VLCApplication must not be nil");
VLCMain * const main = VLCMain.sharedInstance;
NSCAssert(main != nil, @"VLCMain must not be nil");
msg_Dbg(p_intf, "Finished loading macosx interface");
return VLC_SUCCESS;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment