diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-08-12 22:55:25 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-08-12 22:55:25 +0000 |
commit | ea5b5357cdc79c7742c035032f5500e4a97a6d55 (patch) | |
tree | 1b2b64495c4aef58a7923da18525a49836ab5b03 /src/backend/commands/command.c | |
parent | 0f6a961e299b1dc3c57bf34d714d2eb0d9b5e6eb (diff) | |
download | postgresql-ea5b5357cdc79c7742c035032f5500e4a97a6d55.tar.gz postgresql-ea5b5357cdc79c7742c035032f5500e4a97a6d55.zip |
Remove more (void) and fix -Wall warnings.
Diffstat (limited to 'src/backend/commands/command.c')
-rw-r--r-- | src/backend/commands/command.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/commands/command.c b/src/backend/commands/command.c index 5864d45b53b..526adbdda71 100644 --- a/src/backend/commands/command.c +++ b/src/backend/commands/command.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.7 1997/01/02 06:18:25 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.8 1997/08/12 22:52:18 momjian Exp $ * * NOTES * The PortalExecutorHeapMemory crap needs to be eliminated @@ -82,7 +82,7 @@ PortalCleanup(Portal portal) * switch back to previous context * ---------------- */ - (void) MemoryContextSwitchTo(context); + MemoryContextSwitchTo(context); PortalExecutorHeapMemory = (MemoryContext) NULL; } @@ -174,7 +174,7 @@ PerformPortalFetch(char *name, * do what is possible across transaction boundries. * ---------------- */ - (void) MemoryContextSwitchTo( + MemoryContextSwitchTo( (MemoryContext)PortalGetHeapMemory(GetPortalByName(NULL))); } @@ -469,7 +469,7 @@ PerformAddAttribute(char *relationName, ((Form_pg_class) GETSTRUCT(reltup))->relnatts = maxatts; oldTID = reltup->t_ctid; - (void) heap_replace(relrdesc, &oldTID, reltup); + heap_replace(relrdesc, &oldTID, reltup); /* keep catalog indices current */ CatalogOpenIndices(Num_pg_class_indices, Name_pg_class_indices, ridescs); |