Fix cppcheck issue "src/modem.cpp:596: Redundant initialization for 'it'. The initialized value is overwritten before it is read.".