rmi is an uninitialized value UNLESS c->Iop is 0x89. So the manipulations of rmi trigger valgrind, even though the code's dependence on the value of rmi isn't until after c->Iop is tested. So this isn't an actual bug, but pleasing valgrind is worthwhile.