From ea5b5357cdc79c7742c035032f5500e4a97a6d55 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 12 Aug 1997 22:55:25 +0000 Subject: Remove more (void) and fix -Wall warnings. --- src/backend/commands/rename.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/commands/rename.c') 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); -- cgit v1.2.3