[glib] Remove a dead increment



commit 30645bd0a584137585d572b37f39d2904bba0a8f
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Sep 7 03:12:06 2009 -0400

    Remove a dead increment

 gio/glocalfileinfo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/glocalfileinfo.c b/gio/glocalfileinfo.c
index a61cc55..7076aac 100644
--- a/gio/glocalfileinfo.c
+++ b/gio/glocalfileinfo.c
@@ -323,7 +323,7 @@ hex_escape_string (const char *str,
 	  *p++ = hex_digits[c & 0xf];
 	}
     }
-  *p++ = 0;
+  *p = 0;
 
   *free_return = TRUE;
   return escaped_str;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]