Fix uninitialised variable warning. Filed as PR/48185