[git] GnuPG - branch, master, updated. gnupg-2.1.11-101-gb752d2c

by NIIBE Yutaka cvs at cvs.gnupg.org
Wed Mar 16 03:55:16 CET 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  b752d2c93778e6a1c1de3eddf8fc725b0ddd354e (commit)
      from  60b34f96f4f390670462d719c0d797e622cee4d4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b752d2c93778e6a1c1de3eddf8fc725b0ddd354e
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Wed Mar 16 11:52:41 2016 +0900

    g10: Add const qualifier.
    
    * g10/gpgcompose.c (show_help): Those are strings not to be modified.
    
    --
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/g10/gpgcompose.c b/g10/gpgcompose.c
index ada986e..55d3ae2 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;

-----------------------------------------------------------------------

Summary of changes:
 g10/gpgcompose.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list