Thread (1 message) 1 message, 1 author, 2017-09-20

Re: [PATCH v2 10/10] add UNLEAK annotation for reducing leak false positives

From: Junio C Hamano <hidden>
Date: 2017-09-20 05:12:43

Jeff King [off-list ref] writes:
At any rate, I think Jonathan's point is that writing:

  UNLEAK(foo)

will silently pass in a normal build, and only much later will somebody
run a leak-checking build and see the compile error.
Yeah, I think I understand that concern.

	#if SOME_CONDITION
	#define X(y) do_x(y)
	#else
	#define X(y) /* nothing */
	#endif

is something we quite often use, and I just found it a bit unusual
that all of a sudden we start to be extra careful only with this
macro.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help