diff options
| author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-04-10 21:31:01 +0300 | 
|---|---|---|
| committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-04-10 21:31:01 +0300 | 
| commit | c9cc8f6ddedefc681ac2fe08034c57c87c1d745c (patch) | |
| tree | 3bfec1491c313fa1a4e5717c2d94403b75a0d242 /indra | |
| parent | f7f939ecf2ed1a0a5970b91aa0227fa0cf012a72 (diff) | |
Don't crash Test Viewer due to missing version checker
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llappviewer.cpp | 12 | 
1 files changed, 4 insertions, 8 deletions
| diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 5592cd3e59..6202a382b1 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -1167,14 +1167,10 @@ bool LLAppViewer::init()  	// ForceAddressSize  	updater.args.add(stringize(gSavedSettings.getU32("ForceAddressSize"))); -#if LL_WINDOWS && !LL_RELEASE_FOR_DOWNLOAD && !LL_SEND_CRASH_REPORTS -	// This is neither a release package, nor crash-reporting enabled test build -	// try to run version updater, but don't bother if it fails (file might be missing) -	LLLeap *leap_p = LLLeap::create(updater, false); -	if (!leap_p) -	{ -		LL_WARNS("LLLeap") << "Failed to run LLLeap" << LL_ENDL; -	} +#if !LL_RELEASE_FOR_DOWNLOAD && !LL_SEND_CRASH_REPORTS +    // This is neither a release package, nor crash-reporting enabled test build +    // Note: pointless to launch on Windows - it shouldn't expect secondlife-bin.exe +    LL_WARNS("LLLeap") << "Launching without version checker" << LL_ENDL;  #else  	// Run the updater. An exception from launching the updater should bother us.  	LLLeap::create(updater, true); | 
