From 79530046107720af49a975c9765641cd4936ebac Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Wed, 13 May 2009 17:12:12 -0500 Subject: [PATCH] fix unused variable warning. --- C/iopreds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C/iopreds.c b/C/iopreds.c index 72563285a..c1c3dec69 100644 --- a/C/iopreds.c +++ b/C/iopreds.c @@ -5887,12 +5887,12 @@ static Int p_same_file(void) { char *f1 = RepAtom(AtomOfTerm(Deref(ARG1)))->StrOfAE; char *f2 = RepAtom(AtomOfTerm(Deref(ARG2)))->StrOfAE; - int out; if (strcmp(f1,f2) == 0) return TRUE; #if HAVE_LSTAT { + int out; struct stat *b1, *b2; while ((char *)H+sizeof(struct stat)*2 > (char *)(ASP-1024)) { if (!Yap_gcl(2*sizeof(struct stat), 2, ENV, gc_P(P,CP))) {