Skip to content

Commit

Permalink
Consider "statement is not reachable" waring
Browse files Browse the repository at this point in the history
  • Loading branch information
9rnsr committed Sep 5, 2011
1 parent 353f310 commit 558c3c5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions std/conv.d
Original file line number Diff line number Diff line change
Expand Up @@ -2764,10 +2764,13 @@ Target parse(Target, Source)(ref Source s, dchar lbracket = '[', dchar rbracket
skipWS(s);
if (s.front == rbracket)
{
if (result.length != 0)
static if (result.length != 0)
goto Lmanyerr;
s.popFront();
return result;
else
{
s.popFront();
return result;
}
}
for (size_t i = 0; ; s.popFront(), skipWS(s))
{
Expand Down

0 comments on commit 558c3c5

Please sign in to comment.