Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite3ebe25

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 parent0542b1e commite3ebe25

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/2203:56:22 momjian Exp $";*/
86+
/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.6 2005/02/2204:57:24 momjian Exp $";*/
8787
staticchar*end;
8888
staticintSnprfOverflow;
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)

[8]ページ先頭

©2009-2025 Movatter.jp