Commit 188d2c26 authored by unknown's avatar unknown

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.
parent f5688932
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment