Somewhere, someone is saying "D'oh"
Oct. 2nd, 2003 10:41 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
So we have some code that loads data from one place to another place, and I'm trying to figure out why when this code flags an error, it appears that the bad data is still getting loaded, and I discover this:
It's awfully hard for a variable that's never checked to affect program execution...
> grep -n haveError read.cpp
211: int haveError = 0;
228: haveError = 1;
It's awfully hard for a variable that's never checked to affect program execution...