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:
Wei-Cheng Pan 2016-12-20 14:51:20 +08:00
parent 0aa3a82f68
commit bd8b15f88a

View File

@ -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);