Yet the code will ALWAYS use that variable to unpack all the ports. I
removed the #if to clear the problem, but before committing the change, I
wanted to ask why someone thought this test needed to be in the code.

Should the entire loop unpacking all the ports be similarly protected, or
was the protection around the variable declaration simply an error?