OSDN Git Service

Some cleanup in ecpg code:
authorMichael Meskes <meskes@postgresql.org>
Tue, 2 Nov 2010 17:12:01 +0000 (18:12 +0100)
committerMichael Meskes <meskes@postgresql.org>
Tue, 2 Nov 2010 17:12:01 +0000 (18:12 +0100)
commit35d5d962e1777560baf6f5edec906a907a853c9a
treeda8655d2409ebd61863735a1f321052eaedbc636
parent8c843fff2d8db7889b81782ab4f3324cbda4ed2a
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.
src/interfaces/ecpg/compatlib/informix.c
src/interfaces/ecpg/ecpglib/connect.c
src/interfaces/ecpg/ecpglib/extern.h
src/interfaces/ecpg/ecpglib/memory.c
src/interfaces/ecpg/ecpglib/prepare.c
src/interfaces/ecpg/preproc/ecpg.c
src/interfaces/ecpg/preproc/ecpg.trailer
src/interfaces/ecpg/preproc/extern.h