summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/extern.h
diff options
context:
space:
mode:
authorMichael Meskes2010-11-02 17:12:01 +0000
committerMichael Meskes2010-11-02 17:12:01 +0000
commit35d5d962e1777560baf6f5edec906a907a853c9a (patch)
treeda8655d2409ebd61863735a1f321052eaedbc636 /src/interfaces/ecpg/ecpglib/extern.h
parent8c843fff2d8db7889b81782ab4f3324cbda4ed2a (diff)
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.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/extern.h')
-rw-r--r--src/interfaces/ecpg/ecpglib/extern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ecpglib/extern.h b/src/interfaces/ecpg/ecpglib/extern.h
index 2d9636d798b..0d55102d0da 100644
--- a/src/interfaces/ecpg/ecpglib/extern.h
+++ b/src/interfaces/ecpg/ecpglib/extern.h
@@ -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;