From 27db9ecd0b15abca733a99dab3bf9771ad70507d Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 15 Jun 1998 18:40:05 +0000 Subject: Fix macros that were not properly surrounded by parens or braces. --- src/include/executor/execdebug.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/include/executor/execdebug.h') diff --git a/src/include/executor/execdebug.h b/src/include/executor/execdebug.h index 4337b3d1b4c..d9a746a7255 100644 --- a/src/include/executor/execdebug.h +++ b/src/include/executor/execdebug.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: execdebug.h,v 1.4 1997/09/08 02:36:12 momjian Exp $ + * $Id: execdebug.h,v 1.5 1998/06/15 18:39:55 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -193,14 +193,15 @@ extern int NIndexTupleInserted; #define IncrIndexProcessed() NIndexTupleProcessed++ #define IncrIndexInserted() NIndexTupleInserted++ #else -#define IncrRetrieved() -#define IncrAppended() -#define IncrDeleted() -#define IncrReplaced() -#define IncrInserted() -#define IncrProcessed() -#define IncrIndexProcessed() -#define IncrIndexInserted() +/* stop compiler warnings */ +#define IncrRetrieved() (void)(0) +#define IncrAppended() (void)(0) +#define IncrDeleted() (void)(0) +#define IncrReplaced() (void)(0) +#define IncrInserted() (void)(0) +#define IncrProcessed() (void)(0) +#define IncrIndexProcessed() (void)(0) +#define IncrIndexInserted() (void)(0) #endif /* EXEC_TUPLECOUNT */ /* ---------------- -- cgit v1.2.3