Fix unused assignment