Remove unused part of the return value of parse_blob_url().

This commit is contained in:
Ms2ger 2017-01-30 15:16:27 +01:00
parent 3e1bc8dcfe
commit f4ab3ac54d
3 changed files with 4 additions and 5 deletions

View file

@ -22,7 +22,7 @@ pub fn load_blob_sync
filemanager: FileManager)
-> Result<(Headers, Vec<u8>), NetworkError> {
let (id, origin) = match parse_blob_url(&url) {
Ok((id, origin, _fragment)) => (id, origin),
Ok((id, origin)) => (id, origin),
Err(()) => {
let e = format!("Invalid blob URL format {:?}", url);
return Err(NetworkError::Internal(e));