зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1392630 Remove unused variables r=froydnj
MozReview-Commit-ID: eSbnMzdWZm --HG-- extra : rebase_source : c432a7d08b845fc102251faadeb7200a4991294a
This commit is contained in:
Родитель
24a5f680de
Коммит
c3169de381
|
@ -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);
|
||||
|
|
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче