g10: Add const qualifier.

* g10/gpgcompose.c (show_help): Those are strings not to be modified.

--

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2016-03-16 11:52:41 +09:00
parent 60b34f96f4
commit b752d2c937
1 changed files with 2 additions and 2 deletions

View File

@ -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;