Section 24. Upon a complaint or indictment for any offense, a summons shall issue instead of a warrant, unless, in the judgment of the court or justice, there is reason to believe that the defendant will not appear upon summons.