From 84c80538afc477cab4e76d7c30d0e50d27d75cf9 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 11 Nov 2014 19:04:42 +0100 Subject: remove pointless double initialization guards this isn't some fuzzy logic, the call sequence is well determined. Change-Id: I1696b49ed687da83d2969efcfe23ac6565630020 Reviewed-by: Joerg Bornemann --- qmake/generators/unix/unixmake.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'qmake/generators/unix/unixmake.cpp') diff --git a/qmake/generators/unix/unixmake.cpp b/qmake/generators/unix/unixmake.cpp index e54ddf8ad73..8ca2b0a820d 100644 --- a/qmake/generators/unix/unixmake.cpp +++ b/qmake/generators/unix/unixmake.cpp @@ -45,10 +45,6 @@ QT_BEGIN_NAMESPACE void UnixMakefileGenerator::init() { - if(init_flag) - return; - init_flag = true; - if(project->isEmpty("QMAKE_EXTENSION_SHLIB")) { if(project->isEmpty("QMAKE_CYGWIN_SHLIB")) { project->values("QMAKE_EXTENSION_SHLIB").append("so"); -- cgit v1.2.3