mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
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:
parent
60b34f96f4
commit
b752d2c937
@ -259,8 +259,8 @@ show_help (struct option options[])
|
|||||||
|
|
||||||
for (i = 0; ; i ++)
|
for (i = 0; ; i ++)
|
||||||
{
|
{
|
||||||
char *option = options[i].option;
|
const char *option = options[i].option;
|
||||||
char *help = options[i].help;
|
const char *help = options[i].help;
|
||||||
|
|
||||||
int l;
|
int l;
|
||||||
int j;
|
int j;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user