Skip to content
Snippets Groups Projects
Commit e2009915 authored by Oz Linden's avatar Oz Linden
Browse files

change initLogging virtual functions to void (returns were ignored anyway)

parent ce0dbbd8
Branches
Tags
No related merge requests found
...@@ -440,7 +440,7 @@ bool LLAppViewerLinux::beingDebugged() ...@@ -440,7 +440,7 @@ bool LLAppViewerLinux::beingDebugged()
#endif #endif
} }
bool LLAppViewerLinux::initLogging() void LLAppViewerLinux::initLogging()
{ {
// Remove the last stack trace, if any // Remove the last stack trace, if any
// This file is no longer created, since the move to Google Breakpad // This file is no longer created, since the move to Google Breakpad
...@@ -449,7 +449,7 @@ bool LLAppViewerLinux::initLogging() ...@@ -449,7 +449,7 @@ bool LLAppViewerLinux::initLogging()
gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"stack_trace.log"); gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"stack_trace.log");
LLFile::remove(old_stack_file); LLFile::remove(old_stack_file);
return LLAppViewer::initLogging(); LLAppViewer::initLogging();
} }
bool LLAppViewerLinux::initParseCommandLine(LLCommandLineParser& clp) bool LLAppViewerLinux::initParseCommandLine(LLCommandLineParser& clp)
......
...@@ -63,7 +63,7 @@ class LLAppViewerLinux : public LLAppViewer ...@@ -63,7 +63,7 @@ class LLAppViewerLinux : public LLAppViewer
virtual bool restoreErrorTrap(); virtual bool restoreErrorTrap();
virtual void handleCrashReporting(bool reportFreeze); virtual void handleCrashReporting(bool reportFreeze);
virtual bool initLogging(); virtual void initLogging();
virtual bool initParseCommandLine(LLCommandLineParser& clp); virtual bool initParseCommandLine(LLCommandLineParser& clp);
virtual bool initSLURLHandler(); virtual bool initSLURLHandler();
......
...@@ -509,9 +509,9 @@ bool LLAppViewerWin32::cleanup() ...@@ -509,9 +509,9 @@ bool LLAppViewerWin32::cleanup()
return result; return result;
} }
bool LLAppViewerWin32::initLogging() void LLAppViewerWin32::initLogging()
{ {
return LLAppViewer::initLogging(); LLAppViewer::initLogging();
} }
void LLAppViewerWin32::initConsole() void LLAppViewerWin32::initConsole()
......
...@@ -44,7 +44,7 @@ class LLAppViewerWin32 : public LLAppViewer ...@@ -44,7 +44,7 @@ class LLAppViewerWin32 : public LLAppViewer
virtual bool cleanup(); virtual bool cleanup();
protected: protected:
virtual bool initLogging(); // Override to clean stack_trace info. virtual void initLogging(); // Override to clean stack_trace info.
virtual void initConsole(); // Initialize OS level debugging console. virtual void initConsole(); // Initialize OS level debugging console.
virtual bool initHardwareTest(); // Win32 uses DX9 to test hardware. virtual bool initHardwareTest(); // Win32 uses DX9 to test hardware.
virtual bool initParseCommandLine(LLCommandLineParser& clp); virtual bool initParseCommandLine(LLCommandLineParser& clp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment