mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Some cleanup in ecpg code:
Use bool as type for booleans instead of int. Do not implicitely cast size_t to int. Make the compiler stop complaining about unused variables by adding an empty statement.
This commit is contained in:
@ -18,17 +18,17 @@
|
||||
|
||||
/* variables */
|
||||
|
||||
extern int braces_open,
|
||||
autocommit,
|
||||
extern bool autocommit,
|
||||
auto_create_c,
|
||||
system_includes,
|
||||
force_indicator,
|
||||
questionmarks,
|
||||
ret_value,
|
||||
struct_level,
|
||||
ecpg_internal_var,
|
||||
regression_mode,
|
||||
auto_prepare;
|
||||
extern int braces_open,
|
||||
ret_value,
|
||||
struct_level,
|
||||
ecpg_internal_var;
|
||||
extern char *current_function;
|
||||
extern char *descriptor_index;
|
||||
extern char *descriptor_name;
|
||||
|
Reference in New Issue
Block a user