Fix minor warning (redundant code)