Code cleanup: in C89, there is no point casting the first argument to
Neil Conway <neilc@samurai.com>
Code cleanup: in C89, there is no point casting the first argument to memset() or MemSet() to a char *. For one, memset()'s first argument is a void *, and further void * can be implicitly coerced to/from any other pointer type.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/hash/hashovfl.c | modified | +2 −2 |
| src/backend/access/hash/hashpage.c | modified | +3 −3 |
| src/backend/access/hash/hashutil.c | modified | +2 −2 |
| src/backend/storage/lmgr/lock.c | modified | +3 −3 |
| src/backend/utils/cache/relcache.c | modified | +3 −3 |
| src/backend/utils/cache/syscache.c | modified | +2 −2 |
| src/backend/utils/fmgr/dfmgr.c | modified | +2 −2 |
| src/include/c.h | modified | +7 −7 |
| src/interfaces/libpq/fe-protocol2.c | modified | +4 −4 |