Showing with 0 additions and 7 deletions.
  1. +0 −1 src/cond.c
  2. +0 −6 src/mars.c
1 change: 0 additions & 1 deletion src/cond.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ bool VersionCondition::isPredefined(const char *ident)
"D_SIMD",
"D_Version2",
"D_NoBoundsChecks",
"D_Warnings",
"unittest",
"assert",
"all",
Expand Down
6 changes: 0 additions & 6 deletions src/mars.c
Original file line number Diff line number Diff line change
Expand Up @@ -687,15 +687,9 @@ Language changes listed by -transition=id:\n\
goto Lerror;
}
else if (strcmp(p + 1, "w") == 0)
{
global.params.warnings = 1;
VersionCondition::addPredefinedGlobalIdent("D_Warnings");
}
else if (strcmp(p + 1, "wi") == 0)
{
global.params.warnings = 2;
VersionCondition::addPredefinedGlobalIdent("D_Warnings");
}
else if (strcmp(p + 1, "O") == 0)
global.params.optimize = true;
else if (p[1] == 'o')
Expand Down