about summary refs log tree commit diff
path: root/parsing.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2011-07-22 12:22:17 +0000
committerLars Hjemli <hjemli@gmail.com>2011-07-22 12:22:17 +0000
commit756e3ea6392e30bcd0a41346d4ffa42c56d715e2 (patch)
tree5b5da8cd867dfe801ecfc4c6c2c2b01a00cc4ea8 /parsing.c
parentMerge branch 'stable' (diff)
parentFix potential XSS vulnerability in rename hint (diff)
downloadcgit-pink-756e3ea6392e30bcd0a41346d4ffa42c56d715e2.tar.gz
cgit-pink-756e3ea6392e30bcd0a41346d4ffa42c56d715e2.zip
Merge branch 'stable'
Diffstat (limited to 'parsing.c')
-rw-r--r--parsing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing.c b/parsing.c
index 151c0fe..602e3de 100644
--- a/parsing.c
+++ b/parsing.c
@@ -125,7 +125,7 @@ const char *reencode(char **txt, const char *src_enc, const char *dst_enc)
 struct commitinfo *cgit_parse_commit(struct commit *commit)
 {
 	struct commitinfo *ret;
-	char *p = commit->buffer, *t = commit->buffer;
+	char *p = commit->buffer, *t;
 
 	ret = xmalloc(sizeof(*ret));
 	ret->commit = commit;