Fixes issue #389 by removing code which causes a segfault in MinGW's GCC by removing code which did not affect subsequent operations.