From b752d2c93778e6a1c1de3eddf8fc725b0ddd354e Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 16 Mar 2016 11:52:41 +0900 Subject: [PATCH] g10: Add const qualifier. * g10/gpgcompose.c (show_help): Those are strings not to be modified. -- Signed-off-by: NIIBE Yutaka --- g10/gpgcompose.c | 4 ++-- 1 file 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;