mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
Remove more (void) and fix -Wall warnings.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.9 1997/06/06 22:04:04 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.10 1997/08/12 22:53:56 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -544,7 +544,7 @@ ShmemInitStruct(char *name, unsigned long size, bool *foundPtr)
|
||||
if (! structPtr) {
|
||||
/* out of memory */
|
||||
Assert (BindingTable);
|
||||
(void) hash_search(BindingTable,(char *) &item,HASH_REMOVE, foundPtr);
|
||||
hash_search(BindingTable,(char *) &item,HASH_REMOVE, foundPtr);
|
||||
SpinRelease(BindingLock);
|
||||
*foundPtr = FALSE;
|
||||
|
||||
@@ -578,7 +578,7 @@ TransactionIdIsInProgress (TransactionId xid)
|
||||
|
||||
SpinAcquire(BindingLock);
|
||||
|
||||
(void) hash_seq ((HTAB *)NULL);
|
||||
hash_seq ((HTAB *)NULL);
|
||||
while ( (result = (BindingEnt *) hash_seq (BindingTable)) != NULL )
|
||||
{
|
||||
if ( result == (BindingEnt *) TRUE )
|
||||
|
||||
Reference in New Issue
Block a user