Skip to content

Commit e3ebe25

Browse files
committed
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 */
1 parent 0542b1e commit e3ebe25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/port/snprintf.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ typedef unsigned long ulong_long;
8383
* causing nast effects.
8484
**************************************************************/
8585

86-
/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.5 2005/02/22 03:56:22 momjian Exp $";*/
86+
/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.6 2005/02/22 04:57:24 momjian Exp $";*/
8787
static char *end;
8888
static int SnprfOverflow;
8989

@@ -469,6 +469,7 @@ dopr(char *buffer, const char *format, va_list args)
469469
dopr_outch(ch);
470470
nochar:
471471
/* nothing */
472+
; /* semicolon required because a goto has to be attached to a statement */
472473
}
473474
*output = '\0';
474475
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy