When building with high optimization level, the compiler thinks duration may be used initialized and warns as much. Let's initialize this variable always to ensure it does not happen and with it pacify the compiler. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>