From 188d2c26fdc874e8a3fbc41753fe7150061b9877 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 15 Mar 2005 12:40:28 +0100 Subject: Proactive compile fix (in case we ever enable "EVENT_DEBUG" on IRIX). ndb/src/ndbapi/NdbEventOperationImpl.cpp: Proactive compile fix (in case we ever enable "EVENT_DEBUG" on IRIX): Two identical declarations on loop level will collide at function level. --- ndb/src/ndbapi/NdbEventOperationImpl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ndb') diff --git a/ndb/src/ndbapi/NdbEventOperationImpl.cpp b/ndb/src/ndbapi/NdbEventOperationImpl.cpp index b3fac64d1c4..87bbca5fc71 100644 --- a/ndb/src/ndbapi/NdbEventOperationImpl.cpp +++ b/ndb/src/ndbapi/NdbEventOperationImpl.cpp @@ -362,12 +362,13 @@ NdbEventOperationImpl::next(int *pOverrun) Uint32 *aDataPtr = ptr[1].p; #ifdef EVENT_DEBUG + int i; printf("after values sz=%u\n", ptr[1].sz); - for(int i=0; i < ptr[1].sz; i++) + for (i=0; i < ptr[1].sz; i++) printf ("H'%.8X ",ptr[1].p[i]); printf("\n"); printf("before values sz=%u\n", ptr[2].sz); - for(int i=0; i < ptr[2].sz; i++) + for (i=0; i < ptr[2].sz; i++) printf ("H'%.8X ",ptr[2].p[i]); printf("\n"); #endif -- cgit v1.2.1