Re: [Mesa-dev] [PATCH 2/2] c11/threads: correct assertion

2014-08-18 Thread Jose Fonseca
On 02/08/14 00:16, Ian Romanick wrote: On 08/01/2014 09:41 AM, Emil Velikov wrote: We should assert when either the function or the flag pointer is null or we'll end up with a null reference a few lines later. Currently unused by mesa thus it has gone unnoticed. Signed-off-by: Emil Velikov --

Re: [Mesa-dev] [PATCH 2/2] c11/threads: correct assertion

2014-08-01 Thread Ian Romanick
On 08/01/2014 09:41 AM, Emil Velikov wrote: > We should assert when either the function or the flag pointer > is null or we'll end up with a null reference a few lines later. > > Currently unused by mesa thus it has gone unnoticed. > > Signed-off-by: Emil Velikov > --- > include/c11/threads_win

[Mesa-dev] [PATCH 2/2] c11/threads: correct assertion

2014-08-01 Thread Emil Velikov
We should assert when either the function or the flag pointer is null or we'll end up with a null reference a few lines later. Currently unused by mesa thus it has gone unnoticed. Signed-off-by: Emil Velikov --- include/c11/threads_win32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)