The judgment for the defendant on a demurrer to the indictment or information, except where it is otherwise provided, or for an objection taken at the trial to its form or substance, or for variance between the indictment or information and the proof, shall not bar another prosecution for the same offense.
RCW 10.40.125