Thread (8 messages) flat view 8 messages, 3 authors, 2016-06-15
DORMANTno replies

[PATCH/RFC 1/2] is_url: Remove redundant assignment

From: Pang Yan Han <hidden>
Date: 2016-06-15 22:52:06
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Pang Yan Han <redacted>
---
 url.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/url.c b/url.c
index 3e06fd3..d2e17e6 100644
--- a/url.c
+++ b/url.c
@@ -22,7 +22,6 @@ int is_url(const char *url)
 
 	if (!url)
 		return 0;
-	url2 = url;
 	first_slash = strchr(url, '/');
 
 	/* Input with no slash at all or slash first can't be URL. */
-- 
1.7.7.rc3.2.g29f2e6
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help