A Spanish riot police officer swings a club against would-be voters near a school assigned to be a polling station by the Catalan government in Barcelona.