Welcome in the Forum, Tim.
The warning is quite reasonable: You assign a value to Input_Array which is not a global variable (local to the function main) and you never use that value again. When not compiling with a strong optimization there will be no effect, just a warning. When compiling with optimization set to "Size" or "Speed" the assignment may be optimized-out.
Another pitfall: your delay-loop is quite undetermined. Better use CyDelay() or CyDelayus(), both documented in the "System Reference guide" (from Creator "Help"-menu.