1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Fixed a few minor glitches pointed out by splint.

This commit is contained in:
Michael Meskes
2007-12-21 14:33:20 +00:00
parent 7b009a2a9d
commit 51a5921dcc
6 changed files with 20 additions and 16 deletions

View File

@ -1,4 +1,4 @@
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.102 2007/11/15 21:14:45 momjian Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.103 2007/12/21 14:33:20 meskes Exp $ */
/* New main for ecpg, the PostgreSQL embedded SQL precompiler. */
/* (C) Michael Meskes <meskes@postgresql.org> Feb 5th, 1998 */
@ -18,7 +18,6 @@ int ret_value = 0,
system_includes = false,
force_indicator = true,
questionmarks = false,
header_mode = false,
regression_mode = false,
auto_prepare = false;
@ -132,6 +131,7 @@ main(int argc, char *const argv[])
int fnr,
c,
verbose = false,
header_mode = false,
out_option = 0;
struct _include_path *ip;
const char *progname;
@ -200,7 +200,7 @@ main(int argc, char *const argv[])
case 'h':
header_mode = true;
/* this must include "-c" to make sense */
/* so do not place a break; here */
/* so do not place a "break;" here */
case 'c':
auto_create_c = true;
break;