Bug 1402687 - Remove unused variable following MOZ_B2G cleanup r?froydnj
MozReview-Commit-ID: Gtw8FyxbGNH
--- a/uriloader/base/nsURILoader.cpp
+++ b/uriloader/base/nsURILoader.cpp
@@ -397,20 +397,17 @@ nsresult nsDocumentOpenInfo::DispatchCon
// Check whether the data should be forced to be handled externally. This
// could happen because the Content-Disposition header is set so, or, in the
// future, because the user has specified external handling for the MIME
// type.
bool forceExternalHandling = false;
uint32_t disposition;
rv = aChannel->GetContentDisposition(&disposition);
- bool allowContentDispositionToForceExternalHandling = true;
-
- if (NS_SUCCEEDED(rv) && (disposition == nsIChannel::DISPOSITION_ATTACHMENT) &&
- allowContentDispositionToForceExternalHandling) {
+ if (NS_SUCCEEDED(rv) && disposition == nsIChannel::DISPOSITION_ATTACHMENT) {
forceExternalHandling = true;
}
LOG((" forceExternalHandling: %s", forceExternalHandling ? "yes" : "no"));
if (!forceExternalHandling)
{
//