From d6b1aace216ca5b3ab365f19e38639666d08b344 Mon Sep 17 00:00:00 2001 From: Jonathan Watt Date: Wed, 25 Jun 2014 12:59:41 +0100 Subject: [PATCH] Bug 1029627 - Remove unused string variable and member variable in WinUtils code. r=jmathies --- widget/windows/WinUtils.cpp | 2 -- widget/windows/WinUtils.h | 1 - 2 files changed, 3 deletions(-) diff --git a/widget/windows/WinUtils.cpp b/widget/windows/WinUtils.cpp index 303db41a342..a6c852e2b58 100644 --- a/widget/windows/WinUtils.cpp +++ b/widget/windows/WinUtils.cpp @@ -753,8 +753,6 @@ AsyncFaviconDataReady::OnComplete(nsIURI *aFaviconURI, NS_ENSURE_SUCCESS(rv, rv); // Decode the image from the format it was returned to us in (probably PNG) - nsAutoCString mimeTypeOfInputData; - mimeTypeOfInputData.AssignLiteral("image/vnd.microsoft.icon"); nsCOMPtr container; nsCOMPtr imgtool = do_CreateInstance("@mozilla.org/image/tools;1"); rv = imgtool->DecodeImageData(stream, aMimeType, diff --git a/widget/windows/WinUtils.h b/widget/windows/WinUtils.h index be2bbaa0e9a..89a33945092 100644 --- a/widget/windows/WinUtils.h +++ b/widget/windows/WinUtils.h @@ -382,7 +382,6 @@ public: private: nsAutoString mIconPath; - nsAutoCString mMimeTypeOfInputData; nsAutoArrayPtr mBuffer; HMODULE sDwmDLL; uint32_t mBufferLength;