summaryrefslogtreecommitdiffstats
path: root/toolkit/xre
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/xre')
-rw-r--r--toolkit/xre/nsEmbedFunctions.cpp7
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)));