aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-06-06 22:04:04 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-06-06 22:04:04 +0000
commite318022e1ab00055ea88c684b42105f60efb308b (patch)
tree205c7b1f876df38dcb7213294f2847b0ca98cab4
parent0f94738c335435ce739923755e099ff9786294e9 (diff)
downloadpostgresql-e318022e1ab00055ea88c684b42105f60efb308b.tar.gz
postgresql-e318022e1ab00055ea88c684b42105f60efb308b.zip
From: "D'Arcy J.M. Cain" <darcy@druid.net>
Subject: [PATCHES] backend/storage/ipc/shmem.c - strname is only used if assert checking is on
-rw-r--r--src/backend/storage/ipc/shmem.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/storage/ipc/shmem.c b/src/backend/storage/ipc/shmem.c
index fc04a9088fd..c7c606a4938 100644
--- a/src/backend/storage/ipc/shmem.c
+++ b/src/backend/storage/ipc/shmem.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.8 1996/11/27 08:15:44 bryanh Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.9 1997/06/06 22:04:04 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -483,7 +483,9 @@ ShmemInitStruct(char *name, unsigned long size, bool *foundPtr)
if (! BindingTable) {
/* Assert() is a macro now. substitutes inside quotes. */
+#ifndef NO_ASSERT_CHECKING
char *strname = "BindingTable";
+#endif
/* If the binding table doesnt exist, we fake it.
*