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:
@ -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 */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user