May that should be guarded by if-clause or can warning not be disabled?