diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 15:18:54 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 15:18:54 +0000 |
commit | a5f28e22cc28ca53d092f6545bc924ee43a8bbe4 (patch) | |
tree | 7e02d01734d97de08bdeed66d2d5185f8e4f0a61 /toolkit/xre/nsEmbedFunctions.cpp | |
parent | Releasing progress-linux version 115.8.0esr-1~deb12u1progress7u1. (diff) | |
download | firefox-esr-a5f28e22cc28ca53d092f6545bc924ee43a8bbe4.tar.xz firefox-esr-a5f28e22cc28ca53d092f6545bc924ee43a8bbe4.zip |
Merging upstream version 115.9.0esr.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/xre/nsEmbedFunctions.cpp')
-rw-r--r-- | toolkit/xre/nsEmbedFunctions.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/toolkit/xre/nsEmbedFunctions.cpp b/toolkit/xre/nsEmbedFunctions.cpp index fa236e0f86..e3d975ca18 100644 --- a/toolkit/xre/nsEmbedFunctions.cpp +++ b/toolkit/xre/nsEmbedFunctions.cpp @@ -387,13 +387,6 @@ nsresult XRE_InitChildProcess(int aArgc, char* aArgv[], CrashReporter::FileHandle crashTimeAnnotationFile = CrashReporter::kInvalidFileHandle; #if defined(XP_WIN) - if (aArgc < 1) { - return NS_ERROR_FAILURE; - } - // Pop the first argument, this is used by the WER runtime exception module - // which reads it from the command-line so we can just discard it here. - --aArgc; - const char* const crashTimeAnnotationArg = aArgv[--aArgc]; crashTimeAnnotationFile = reinterpret_cast<CrashReporter::FileHandle>( std::stoul(std::string(crashTimeAnnotationArg))); |