diff options
author | Neil Conway <neilc@samurai.com> | 2007-03-18 16:50:44 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2007-03-18 16:50:44 +0000 |
commit | 7221b4fa50e6d21e9536e02afd4fb6412c61d324 (patch) | |
tree | f18ccdbb7a1edd2ef5700e356830974e6a789d3c /src/bin/pg_dump/pg_backup_archiver.c | |
parent | b9954fbb4ef25fb1ea173d26017d4d128dd15be5 (diff) |
Code cleanup: mark some variables with the "const" modifier, when they
are initialized with a string literal. Patch from Stefan Huehner.
Diffstat (limited to 'src/bin/pg_dump/pg_backup_archiver.c')
-rw-r--r-- | src/bin/pg_dump/pg_backup_archiver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c index 3f014d9c62a..cd979cfaddf 100644 --- a/src/bin/pg_dump/pg_backup_archiver.c +++ b/src/bin/pg_dump/pg_backup_archiver.c @@ -15,7 +15,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.142 2007/02/19 15:05:06 mha Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.143 2007/03/18 16:50:44 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -37,7 +37,7 @@ const char *progname; -static char *modulename = gettext_noop("archiver"); +static const char *modulename = gettext_noop("archiver"); static ArchiveHandle *_allocAH(const char *FileSpec, const ArchiveFormat fmt, |