From 110c253854b54b43a4daa1c8ef4f86aa8cc0ded8 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Fri, 26 Oct 2012 22:56:50 +0000 Subject: [PATCH] - Silence GCC warning stuffs. SVN r3911 (scripting) --- src/zscript/vmexec.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zscript/vmexec.h b/src/zscript/vmexec.h index b7e3bc374..ff9b471d5 100644 --- a/src/zscript/vmexec.h +++ b/src/zscript/vmexec.h @@ -718,7 +718,7 @@ begin: reg.d[a] = reg.d[B] << reg.d[C]; NEXTOP; OP(SLL_RI): - ASSERTD(a); ASSERTD(B); assert(0 <= C && C <= 31); + ASSERTD(a); ASSERTD(B); assert(C <= 31); reg.d[a] = reg.d[B] << C; NEXTOP; OP(SLL_KR): @@ -731,7 +731,7 @@ begin: reg.d[a] = (unsigned)reg.d[B] >> reg.d[C]; NEXTOP; OP(SRL_RI): - ASSERTD(a); ASSERTD(B); assert(0 <= C && C <= 31); + ASSERTD(a); ASSERTD(B); assert(C <= 31); reg.d[a] = (unsigned)reg.d[B] >> C; NEXTOP; OP(SRL_KR): @@ -744,7 +744,7 @@ begin: reg.d[a] = reg.d[B] >> reg.d[C]; NEXTOP; OP(SRA_RI): - ASSERTD(a); ASSERTD(B); assert(0 <= C && C <= 31); + ASSERTD(a); ASSERTD(B); assert(C <= 31); reg.d[a] = reg.d[B] >> C; NEXTOP; OP(SRA_KR):