diff --git a/indra/win_crash_logger/llcrashloggerwindows.cpp b/indra/win_crash_logger/llcrashloggerwindows.cpp
index 0e683c82bde605fb073a6dbbd927a75b1e5dcf85..6b5ab111ec403ccf64c808780024961c599e9156 100644
--- a/indra/win_crash_logger/llcrashloggerwindows.cpp
+++ b/indra/win_crash_logger/llcrashloggerwindows.cpp
@@ -320,7 +320,6 @@ int LLCrashLoggerWindows::processingLoop() {
     
     llinfos << "session ending.." << llendl;
     
-    LLSD options = getOptionData( LLApp::PRIORITY_COMMAND_LINE );
     std::string per_run_file = options["dumpdir"].asString() + "SecondLife.log";
     std::string log_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"SecondLife.log");
     LLFile::copy(per_run_file, log_file);