In any warrant the officer may be required to summon the persons therein named as witnesses to attend the trial.