Fix unused assigns warning