mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1310127 - Part 11: Use MOZ_MUST_USE in netwerk/protocol/http r=aklotz
MozReview-Commit-ID: 8rSNln2Tzlu --HG-- extra : rebase_source : 204b165df5fea710c21a49320d464095786075d8
This commit is contained in:
parent
0aa3a82f68
commit
bd8b15f88a
@ -953,8 +953,8 @@ nsJARChannel::OnDownloadComplete(MemoryDownloader* aDownloader,
|
||||
// send us a JAR file. Check the server-supplied content type for
|
||||
// a JAR type.
|
||||
nsAutoCString header;
|
||||
httpChannel->GetResponseHeader(NS_LITERAL_CSTRING("Content-Type"),
|
||||
header);
|
||||
Unused << httpChannel->GetResponseHeader(
|
||||
NS_LITERAL_CSTRING("Content-Type"), header);
|
||||
nsAutoCString contentType;
|
||||
nsAutoCString charset;
|
||||
NS_ParseResponseContentType(header, contentType, charset);
|
||||
|
Loading…
Reference in New Issue
Block a user