[misc] Remove useless (and wrong anyway) warning