mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +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:
@@ -76,7 +76,7 @@ struct connection
|
||||
{
|
||||
char *name;
|
||||
PGconn *connection;
|
||||
int autocommit;
|
||||
bool autocommit;
|
||||
struct ECPGtype_information_cache *cache_head;
|
||||
struct prepared_statement *prep_stmts;
|
||||
struct connection *next;
|
||||
|
Reference in New Issue
Block a user