The Australian sharemarket closed slightly higher on Wednesday, despite giving up some of its early gains, tracking a quiet day of mixed trading on Wall Street.