After administering the oath, the judge shall issue an order that the prisoner be discharged from custody, if the prisoner is imprisoned for no other cause; and the officer, upon service of such order, shall discharge the prisoner forthwith, if the prisoner is imprisoned for no other cause.
[1911 CPA § 177; RL § 5119; NCL § 8675]