Code cleanup: mark some variables with the "const" modifier, when they
Neil Conway <neilc@samurai.com>
Code cleanup: mark some variables with the "const" modifier, when they are initialized with a string literal. Patch from Stefan Huehner.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/ruleutils.c | modified | +3 −3 |
| src/bin/initdb/initdb.c | modified | +10 −10 |
| src/bin/pg_controldata/pg_controldata.c | modified | +2 −2 |
| src/bin/pg_ctl/pg_ctl.c | modified | +2 −2 |
| src/bin/pg_dump/pg_backup_archiver.c | modified | +2 −2 |
| src/bin/pg_dump/pg_backup_custom.c | modified | +2 −2 |
| src/bin/pg_dump/pg_backup_files.c | modified | +2 −2 |
| src/bin/pg_dump/pg_backup_tar.c | modified | +2 −2 |
| src/bin/pg_dump/pg_dump_sort.c | modified | +2 −2 |
| src/bin/psql/describe.c | modified | +3 −3 |