From 6bd323c6b3f65b26273d5efb7ddd0ac04d039546 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 15 Jun 1998 19:30:31 +0000 Subject: Remove un-needed braces around single statements. --- src/backend/commands/remove.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/backend/commands/remove.c') diff --git a/src/backend/commands/remove.c b/src/backend/commands/remove.c index 1eeccd9ac48..0a030e6570c 100644 --- a/src/backend/commands/remove.c +++ b/src/backend/commands/remove.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.24 1998/05/09 23:43:45 thomas Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.25 1998/06/15 19:28:16 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -364,9 +364,7 @@ RemoveFunction(char *functionName, /* function name to be removed */ 0, 0, 0); if (!HeapTupleIsValid(tup)) - { elog(ERROR, "RemoveFunction: type '%s' not found", typename); - } argList[i] = tup->t_oid; } } @@ -458,14 +456,10 @@ RemoveAggregate(char *aggName, char *aggType) { basetypeID = TypeGet(aggType, &defined); if (!OidIsValid(basetypeID)) - { elog(ERROR, "RemoveAggregate: type '%s' does not exist", aggType); - } } else - { basetypeID = 0; - } /* #ifndef NO_SECURITY -- cgit v1.2.3