From 9348513d124e894b48750fbce1d7fb016923ef8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Fri, 30 Dec 2011 15:51:01 +0000 Subject: [PATCH] fix unused variable. --- C/arith2.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/C/arith2.c b/C/arith2.c index e6d9e9966..805b36ffa 100644 --- a/C/arith2.c +++ b/C/arith2.c @@ -177,7 +177,6 @@ p_rem(Term t1, Term t2) { { Int i1 = IntegerOfTerm(t1); Int i2 = IntegerOfTerm(t2); - Int mod; if (i2 == 0) return Yap_ArithError(EVALUATION_ERROR_ZERO_DIVISOR, t2, "X is " Int_FORMAT " rem 0", i1); @@ -189,7 +188,6 @@ p_rem(Term t1, Term t2) { "rem/2 with %d and %d", i1, i2); #endif } - mod = i1%i2; RINT(i1%i2); } case (CELL)double_e: