commit 206a0e55ba61f28386590a58f53eca49a616e2ce
parent 15cee065a57ed7c7f5272bb6b60f7518121ec4da
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Fri, 8 Apr 2016 09:47:00 -0400
avoid gcc warning in emit
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/emit.c b/emit.c
@@ -249,9 +249,10 @@ Next:
case '=':
sz = KWIDE(i->cls) ? SLong : SWord;
s--;
- /* fall through */
+ goto Ref;
case 'D':
case 'S':
+ sz = SLong; /* does not matter for floats */
Ref:
c = *s++;
ref = getarg(c, i);