diff options
author | NIIBE Yutaka <[email protected]> | 2016-03-16 02:52:41 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2016-03-16 02:52:41 +0000 |
commit | b752d2c93778e6a1c1de3eddf8fc725b0ddd354e (patch) | |
tree | 1b03150c44531f92febb658c5b55497c6ce67fae | |
parent | gpg: Do not rely on a certain evaluation order. (diff) | |
download | gnupg-b752d2c93778e6a1c1de3eddf8fc725b0ddd354e.tar.gz gnupg-b752d2c93778e6a1c1de3eddf8fc725b0ddd354e.zip |
g10: Add const qualifier.
* g10/gpgcompose.c (show_help): Those are strings not to be modified.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r-- | g10/gpgcompose.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/gpgcompose.c b/g10/gpgcompose.c index ada986e14..55d3ae251 100644 --- a/g10/gpgcompose.c +++ b/g10/gpgcompose.c @@ -259,8 +259,8 @@ show_help (struct option options[]) for (i = 0; ; i ++) { - char *option = options[i].option; - char *help = options[i].help; + const char *option = options[i].option; + const char *help = options[i].help; int l; int j; |