Remove const qualifier to avoid warning, remove useless assignation