[#841] Fixed -O3 warnings regarding uninitialised variables