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
19be5cec
Commit
19be5cec
authored
Mar 11, 2018
by
Felix Paul Kühne
Committed by
Carola
Mar 22, 2018
Browse files
Remove write-only variables
(cherry picked from commit
ef4e98db
)
parent
d6a65f10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Sources/VLCBoxTableViewController.m
View file @
19be5cec
...
...
@@ -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 @
19be5cec
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
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