krb5 commit: Clean up a redundant assignment in libprofile

Greg Hudson ghudson at MIT.EDU
Sun May 13 15:43:04 EDT 2012


https://github.com/krb5/krb5/commit/6b0821452898d17058b4d3ac996cd50458b9fbed
commit 6b0821452898d17058b4d3ac996cd50458b9fbed
Author: Greg Hudson <ghudson at mit.edu>
Date:   Sun May 13 15:38:06 2012 -0400

    Clean up a redundant assignment in libprofile

 src/util/profile/prof_parse.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/util/profile/prof_parse.c b/src/util/profile/prof_parse.c
index 77c0adb..bcb88d2 100644
--- a/src/util/profile/prof_parse.c
+++ b/src/util/profile/prof_parse.c
@@ -47,8 +47,6 @@ static void parse_quoted_string(char *str)
 {
     char *to, *from;
 
-    to = from = str;
-
     for (to = from = str; *from && *from != '"'; to++, from++) {
         if (*from == '\\') {
             from++;


More information about the cvs-krb5 mailing list