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/lib/stringinfo.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/backend/lib/stringinfo.c') diff --git a/src/backend/lib/stringinfo.c b/src/backend/lib/stringinfo.c index ccd03115506..af85d2cf7e3 100644 --- a/src/backend/lib/stringinfo.c +++ b/src/backend/lib/stringinfo.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/lib/stringinfo.c,v 1.9 1998/01/07 21:03:04 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/lib/stringinfo.c,v 1.10 1998/06/15 19:28:24 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -35,9 +35,7 @@ makeStringInfo() res = (StringInfo) palloc(sizeof(StringInfoData)); if (res == NULL) - { elog(ERROR, "makeStringInfo: Out of memory!"); - } size = 100; res->data = palloc(size); @@ -95,9 +93,7 @@ appendStringInfo(StringInfo str, char *buffer) */ newlen = 2 * str->len; while (buflen + str->len >= newlen - 1) - { newlen = 2 * newlen; - } /* * allocate enough space. -- cgit v1.2.3