Remove unnecessary parentheses around if conditions

Pet peeve...
This commit is contained in:
Eelco Dolstra
2012-12-28 19:54:15 +01:00
parent e2d505b24e
commit 84779a6f7d
40 changed files with 130 additions and 130 deletions

View File

@@ -29,7 +29,7 @@ let
(enableShared && enableStatic)) then
"tagged" else "system";
cflags = if (enablePIC) then "cflags=-fPIC cxxflags=-fPIC linkflags=-fPIC" else "";
cflags = if enablePIC then "cflags=-fPIC cxxflags=-fPIC linkflags=-fPIC" else "";
in

View File

@@ -28,7 +28,7 @@ let
(enableShared && enableStatic)) then
"tagged" else "system";
cflags = if (enablePIC) then "cflags=-fPIC cxxflags=-fPIC linkflags=-fPIC" else "";
cflags = if enablePIC then "cflags=-fPIC cxxflags=-fPIC linkflags=-fPIC" else "";
in

View File

@@ -29,11 +29,11 @@ let
(enableShared && enableStatic)) then
"tagged" else "system";
cflags = if (enablePIC && enableExceptions) then
cflags = if enablePIC && enableExceptions then
"cflags=-fPIC -fexceptions cxxflags=-fPIC linkflags=-fPIC"
else if (enablePIC) then
else if enablePIC then
"cflags=-fPIC cxxflags=-fPIC linkflags=-fPIC"
else if (enableExceptions) then
else if enableExceptions then
"cflags=-fexceptions"
else
"";

View File

@@ -29,11 +29,11 @@ let
(enableShared && enableStatic)) then
"tagged" else "system";
cflags = if (enablePIC && enableExceptions) then
cflags = if enablePIC && enableExceptions then
"cflags=-fPIC -fexceptions cxxflags=-fPIC linkflags=-fPIC"
else if (enablePIC) then
else if enablePIC then
"cflags=-fPIC cxxflags=-fPIC linkflags=-fPIC"
else if (enableExceptions) then
else if enableExceptions then
"cflags=-fexceptions"
else
"";

View File

@@ -27,11 +27,11 @@ let
# To avoid library name collisions
layout = if taggedLayout then "tagged" else "system";
cflags = if (enablePIC && enableExceptions) then
cflags = if enablePIC && enableExceptions then
"cflags=-fPIC -fexceptions cxxflags=-fPIC linkflags=-fPIC"
else if (enablePIC) then
else if enablePIC then
"cflags=-fPIC cxxflags=-fPIC linkflags=-fPIC"
else if (enableExceptions) then
else if enableExceptions then
"cflags=-fexceptions"
else
"";

View File

@@ -27,11 +27,11 @@ let
# To avoid library name collisions
layout = if taggedLayout then "tagged" else "system";
cflags = if (enablePIC && enableExceptions) then
cflags = if enablePIC && enableExceptions then
"cflags=-fPIC -fexceptions cxxflags=-fPIC linkflags=-fPIC"
else if (enablePIC) then
else if enablePIC then
"cflags=-fPIC cxxflags=-fPIC linkflags=-fPIC"
else if (enableExceptions) then
else if enableExceptions then
"cflags=-fexceptions"
else
"";