Skip to content

Commit

Permalink
Merge pull request #3409 from yebblies/elseif
Browse files Browse the repository at this point in the history
[DDMD] Use 'if' instead of 'else if' to avoid a comment the ddmd converter can't handle
  • Loading branch information
AndrejMitrovic committed Mar 30, 2014
2 parents 8e2b13b + 927aeb7 commit de068ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/func.c
Original file line number Diff line number Diff line change
Expand Up @@ -3563,7 +3563,7 @@ bool FuncDeclaration::setGCUse(Loc loc, const char* warn)
return true;
}
//Only warn about errors in 'root' modules
else if (global.params.vgc && getModule() && getModule()->isRoot()
if (global.params.vgc && getModule() && getModule()->isRoot()
&& !inUnittest())
{
fprintf(global.stdmsg, "%s: vgc: %s\n", loc.toChars(), warn);
Expand Down

0 comments on commit de068ed

Please sign in to comment.