Problem with Nina W102 startup on MKR 1010

this shouldn't be there:
let _ = nina_gpio0.into_floating_input();
in C++ it is
pinMode(NINA_GPIOIRQ, INPUT);