git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fast-import: Remove redundant assignment of 'oe' to itself.
@ 2013-05-26 20:05 Stefan Beller
  2013-05-26 20:08 ` Stefano Lattarini
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Beller @ 2013-05-26 20:05 UTC (permalink / raw)
  To: David Barr, Junio C Hamano, git; +Cc: Stefan Beller

Reported by cppcheck.

Signed-off-by: Stefan Beller <stefanbeller@googlemail.com>
---
 fast-import.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fast-import.c b/fast-import.c
index 5f539d7..0142e3a 100644
--- a/fast-import.c
+++ b/fast-import.c
@@ -2914,7 +2914,7 @@ static void cat_blob(struct object_entry *oe, unsigned char sha1[20])
 static void parse_cat_blob(void)
 {
 	const char *p;
-	struct object_entry *oe = oe;
+	struct object_entry *oe;
 	unsigned char sha1[20];
 
 	/* cat-blob SP <object> LF */
-- 
1.8.3

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-05-28  8:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-26 20:05 [PATCH] fast-import: Remove redundant assignment of 'oe' to itself Stefan Beller
2013-05-26 20:08 ` Stefano Lattarini
2013-05-26 20:14   ` Stefan Beller
2013-05-26 20:17     ` Stefano Lattarini
2013-05-26 20:23       ` Stefan Beller
2013-05-28  8:22   ` Joachim Schmitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).