summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2005-02-22 04:57:24 +0000
committerBruce Momjian2005-02-22 04:57:24 +0000
commite3ebe2521eae0be4bdc08ab042467d1ba27b5244 (patch)
treeeb8c5def73be86c5b1bc268360fa6707bb6e4621
parent0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e (diff)
Add semicolon so snprintf.c goto has a statement to attach to:
nochar: /* nothing */ ; /* semicolon required because a goto has to be attached to a statement */
-rw-r--r--src/port/snprintf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/port/snprintf.c b/src/port/snprintf.c
index 00378213a4c..eb75482f16c 100644
--- a/src/port/snprintf.c
+++ b/src/port/snprintf.c
@@ -83,7 +83,7 @@ typedef unsigned long ulong_long;
* causing nast effects.
**************************************************************/
-/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.5 2005/02/22 03:56:22 momjian Exp $";*/
+/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.6 2005/02/22 04:57:24 momjian Exp $";*/
static char *end;
static int SnprfOverflow;
@@ -469,6 +469,7 @@ performpr:
dopr_outch(ch);
nochar:
/* nothing */
+ ; /* semicolon required because a goto has to be attached to a statement */
}
*output = '\0';
}