summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-29 12:37:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-03-29 12:37:11 +0200
commit1c21379e6533c97f7a2f5d1e7db49408da4b74b7 (patch)
treea00c95b24195c7f5e592fac2882ce8c5ecaa6829 /desktop
parent3273e7facd858c7a5a2d46dc452029a06afe96f2 (diff)
Simplify code
Change-Id: I793f6ce3297b114ebe79b9937e07291e1b238ab1
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/sofficemain.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx
index 1fb8be0d245f..8d402fd2506f 100644
--- a/desktop/source/app/sofficemain.cxx
+++ b/desktop/source/app/sofficemain.cxx
@@ -95,8 +95,7 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main()
/* Run test for OpenGL support in own process to avoid crash with broken
* OpenGL drivers. Start process as early as possible.
*/
- bool bSuccess = false;
- bSuccess = fire_glxtest_process();
+ bool bSuccess = fire_glxtest_process();
SAL_WARN_IF(!bSuccess, "desktop.opengl", "problems with glxtest");
#endif