Fix uninitialized use of reg variable in decode.c