Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 04/10] Add treap implementation

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:49:18

Jonathan Nieder [off-list ref] writes:
quoted hunk
diff --git a/diffcore.h b/diffcore.h
index fed9b15..05ebc11 100644
--- a/diffcore.h
+++ b/diffcore.h
@@ -98,7 +98,7 @@ struct diff_queue_struct {
 		(q)->queue = NULL; \
 		(q)->nr = (q)->alloc = 0; \
 		(q)->run = 0; \
-	} while(0);
+	} while (0)
This is a _bad_ one.  Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help