Minor ecpg tweak: the return value of calloc() is guaranteed to be NULL
Neil Conway <neilc@samurai.com>
Minor ecpg tweak: the return value of calloc() is guaranteed to be NULL or zero-filled; therefore zero-filling it via memset() is pointless. (I think setting `errno' is probably a waste of cycles as well, but I haven't changed that.)
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/pgtypeslib/common.c | modified | +1 −5 |