Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler/src/dmd/blockexit.d
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ int blockExit(Statement s, FuncDeclaration func, ErrorSink eSink)
if (sl && (!sl.hasCode() || sl.isErrorStatement()))
{
}
else if (func && func.getModule().filetype != FileType.c)
else if (func.getModule().filetype != FileType.c)
{
const(char)* gototype = s.isCaseStatement() ? "case" : "default";
// https://issues.dlang.org/show_bug.cgi?id=22999
Expand Down
Loading