Fix warnings in array init