diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 15:18:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 15:18:07 +0000 |
commit | 328078c4d259e52db1a4848c00ee0b420775c91c (patch) | |
tree | ca9b0e61a1c03f0246b0371423bbbe570193e2f1 /toolkit/xre | |
parent | Adding upstream version 115.8.0esr. (diff) | |
download | firefox-esr-328078c4d259e52db1a4848c00ee0b420775c91c.tar.xz firefox-esr-328078c4d259e52db1a4848c00ee0b420775c91c.zip |
Adding upstream version 115.9.0esr.upstream/115.9.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/xre')
-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))); |