1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Back out makeNode() patch to fix gcc 3.3.1 warning.

This commit is contained in:
Bruce Momjian
2003-10-13 22:47:15 +00:00
parent 014a0a3da1
commit 4a39057e59
3 changed files with 44 additions and 46 deletions

View File

@ -10,7 +10,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/sysv_shmem.c,v 1.20 2003/10/12 23:19:21 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/port/sysv_shmem.c,v 1.21 2003/10/13 22:47:15 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -365,7 +365,7 @@ PGSharedMemoryAttach(IpcMemoryKey key, IpcMemoryId *shmid)
if (hdr->magic != PGShmemMagic)
{
shmdt((void *)hdr);
shmdt(hdr);
return NULL; /* segment belongs to a non-Postgres app */
}