Explicitly initialize curDataBlock value

This fixes a crash on windows when compiled with optimization.

I missed this since I never used optimization when compiling and testing on
windows. So it just always played nice.