Corrected warning due to undefined behavior in nodeList variable