aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgcompose.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2016-03-16 02:52:41 +0000
committerNIIBE Yutaka <[email protected]>2016-03-16 02:52:41 +0000
commitb752d2c93778e6a1c1de3eddf8fc725b0ddd354e (patch)
tree1b03150c44531f92febb658c5b55497c6ce67fae /g10/gpgcompose.c
parentgpg: Do not rely on a certain evaluation order. (diff)
downloadgnupg-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]>
Diffstat (limited to 'g10/gpgcompose.c')
-rw-r--r--g10/gpgcompose.c4
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;