aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/rename.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-08-12 22:55:25 +0000
committerBruce Momjian <bruce@momjian.us>1997-08-12 22:55:25 +0000
commitea5b5357cdc79c7742c035032f5500e4a97a6d55 (patch)
tree1b2b64495c4aef58a7923da18525a49836ab5b03 /src/backend/commands/rename.c
parent0f6a961e299b1dc3c57bf34d714d2eb0d9b5e6eb (diff)
downloadpostgresql-ea5b5357cdc79c7742c035032f5500e4a97a6d55.tar.gz
postgresql-ea5b5357cdc79c7742c035032f5500e4a97a6d55.zip
Remove more (void) and fix -Wall warnings.
Diffstat (limited to 'src/backend/commands/rename.c')
-rw-r--r--src/backend/commands/rename.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/rename.c b/src/backend/commands/rename.c
index c1016a91c91..56672659113 100644
--- a/src/backend/commands/rename.c
+++ b/src/backend/commands/rename.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.5 1997/08/12 20:15:12 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.6 1997/08/12 22:52:27 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -170,7 +170,7 @@ renameatt(char *relname,
oldTID = oldatttup->t_ctid;
/* insert "fixed" tuple */
- (void) heap_replace(attrdesc, &oldTID, oldatttup);
+ heap_replace(attrdesc, &oldTID, oldatttup);
/* keep system catalog indices current */
CatalogOpenIndices(Num_pg_attr_indices, Name_pg_attr_indices, idescs);
@@ -246,7 +246,7 @@ renamerel(char oldrelname[], char newrelname[])
oldTID = oldreltup->t_ctid;
/* insert fixed rel tuple */
- (void) heap_replace(relrdesc, &oldTID, oldreltup);
+ heap_replace(relrdesc, &oldTID, oldreltup);
/* keep the system catalog indices current */
CatalogOpenIndices(Num_pg_class_indices, Name_pg_class_indices, idescs);