Part Number: CODECOMPOSER
Other Parts Discussed in Thread: EK-TM4C1294XL
Hello,
I'm using CCS vesion 20.4.1.4_1.10.1 with the TivaWare_C_Series-2.2.0.295. I'm trying to adapt the example ButtonsPoll example to a switch we're connecting to the EK-TM4C1294XL Launchpad. I think I understand the codefor the most part the the following confuses me:

What purpose does line 123 serve? g_ui8ButtonStates isn't used until being overwritten in the next line. Is line 123 deadwood or am I missing something?
I appreciate your time and patience!