Bug 1392630 Remove unused variables r=froydnj

MozReview-Commit-ID: eSbnMzdWZm

--HG--
extra : rebase_source : c432a7d08b845fc102251faadeb7200a4991294a
This commit is contained in:
Tom Ritter 2017-08-22 09:16:31 -05:00
Родитель 24a5f680de
Коммит c3169de381
2 изменённых файлов: 3 добавлений и 4 удалений

2
xpcom/build/LateWriteChecks.cpp Normal file → Executable file
Просмотреть файл

@ -140,7 +140,7 @@ LateWriteObserver::Observe(IOInterposeObserver::Observation& aOb)
HANDLE hFile;
do {
// mkstemp isn't supported so keep trying until we get a file
int result = _mktemp_s(name, strlen(name) + 1);
_mktemp_s(name, strlen(name) + 1);
hFile = CreateFileA(name, GENERIC_WRITE, 0, nullptr, CREATE_NEW,
FILE_ATTRIBUTE_NORMAL, nullptr);
} while (GetLastError() == ERROR_FILE_EXISTS);

5
xpcom/io/SpecialSystemDirectory.cpp Normal file → Executable file
Просмотреть файл

@ -123,9 +123,8 @@ GetLibrarySaveToPath(int aFallbackFolderId, REFKNOWNFOLDERID aFolderId,
{
RefPtr<IShellLibrary> shellLib;
RefPtr<IShellItem> savePath;
HRESULT hr =
SHLoadLibraryFromKnownFolder(aFolderId, STGM_READ,
IID_IShellLibrary, getter_AddRefs(shellLib));
SHLoadLibraryFromKnownFolder(aFolderId, STGM_READ,
IID_IShellLibrary, getter_AddRefs(shellLib));
if (shellLib &&
SUCCEEDED(shellLib->GetDefaultSaveFolder(DSFT_DETECT, IID_IShellItem,