When the performance or nonperformance of any act is made criminal by statute, and no penalty, punishment or forfeiture for the violation of that statute is imposed, the doing of the act is a misdemeanor.