Be it further enacted, that a warrant may be issued for each offender for each offense upon affidavit, provided, that it shall be necessary to issue warrants in case of violation of city ordinances, except at the time of the trial of such offenses. (As amended by Priv. Acts 2014, ch. 55, sec. 1)