[libsoup] Unnecessary initialization



commit 2908502d3589fc0a97fd2a4f473f41f355a19ee3
Author: Gustavo Noronha Silva <gns gnome org>
Date:   Fri Dec 25 20:46:03 2009 -0200

    Unnecessary initialization

 libsoup/soup-uri.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libsoup/soup-uri.c b/libsoup/soup-uri.c
index ffc4f1d..77312b7 100644
--- a/libsoup/soup-uri.c
+++ b/libsoup/soup-uri.c
@@ -303,7 +303,7 @@ soup_uri_new_with_base (SoupURI *base, const char *uri_string)
 	}
 
 	if (remove_dot_segments && uri->path && *uri->path) {
-		char *p = uri->path, *q;
+		char *p, *q;
 
 		/* Remove "./" where "." is a complete segment. */
 		for (p = uri->path + 1; *p; ) {



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