Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
ef4e98db
Commit
ef4e98db
authored
Mar 11, 2018
by
Felix Paul Kühne
Browse files
Remove write-only variables
parent
93190839
Changes
2
Hide whitespace changes
Inline
Side-by-side
Sources/VLCBoxTableViewController.m
View file @
ef4e98db
...
...
@@ -220,7 +220,6 @@
[
connection
cancel
];
/* now ask VLC to stream the URL we were just passed */
VLCPlaybackController
*
vpc
=
[
VLCPlaybackController
sharedInstance
];
VLCMedia
*
media
=
[
VLCMedia
mediaWithURL
:
theActualURL
];
VLCMediaList
*
medialist
=
[[
VLCMediaList
alloc
]
init
];
[
medialist
addMedia
:
media
];
...
...
Sources/VLCDocumentPickerController.m
View file @
ef4e98db
...
...
@@ -70,7 +70,7 @@
NSString
*
filePath
=
[
documentsPath
stringByAppendingPathComponent
:[
url
lastPathComponent
]];
NSError
*
error
=
nil
;
BOOL
success
=
[
fileManager
moveItemAtPath
:[
url
path
]
toPath
:
filePath
error
:&
error
];
[
fileManager
moveItemAtPath
:[
url
path
]
toPath
:
filePath
error
:&
error
];
if
(
!
error
)
{
[[
VLCMediaFileDiscoverer
sharedInstance
]
updateMediaList
];
}
else
{
...
...
Felix Paul Kühne
@fkuehne
mentioned in commit
19be5cec
·
Mar 22, 2018
mentioned in commit
19be5cec
mentioned in commit 19be5cecd5bd5ef4df1fddc77038195a57e1a0d1
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment