int a = 0;
do {
int a = 1;
} while (a);

このコードの挙動が変わってしまうから直せないと思う