Commit e318022e authored by Marc G. Fournier's avatar Marc G. Fournier

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
parent 0f94738c
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -483,7 +483,9 @@ ShmemInitStruct(char *name, unsigned long size, bool *foundPtr)
if (! BindingTable) { if (! BindingTable) {
/* Assert() is a macro now. substitutes inside quotes. */ /* Assert() is a macro now. substitutes inside quotes. */
#ifndef NO_ASSERT_CHECKING
char *strname = "BindingTable"; char *strname = "BindingTable";
#endif
/* If the binding table doesnt exist, we fake it. /* If the binding table doesnt exist, we fake it.
* *
......
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