InvestorsHub Logo
Followers 6
Posts 1321
Boards Moderated 0
Alias Born 05/27/2006

Re: Dmcq post# 130645

Thursday, 02/27/2014 4:00:24 PM

Thursday, February 27, 2014 4:00:24 PM

Post# of 151689
A truly awful code error...

During peer review I always pushed back to the developer any code block that use explicit brackets around the code block even if it was a one-line block (like the goto fail; line).

So the code block should have been required to be:

if (err != 0)
{
goto fail;
}


And the coding error would look like this (but would NOT result in the 'fall through' error that caused the problem:

if (err != 0)
{
goto fail;
goto fail;
}
Volume:
Day Range:
Bid:
Ask:
Last Trade Time:
Total Trades:
  • 1D
  • 1M
  • 3M
  • 6M
  • 1Y
  • 5Y
Recent INTC News