From 1c21379e6533c97f7a2f5d1e7db49408da4b74b7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 29 Mar 2016 12:37:11 +0200 Subject: Simplify code Change-Id: I793f6ce3297b114ebe79b9937e07291e1b238ab1 --- desktop/source/app/sofficemain.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'desktop') 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 -- cgit