use NULL instead of 0 in testcases.
commitac0636468531f36d47708e121a5c94b6b9d142f7
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Wed, 5 Apr 2017 16:18:54 +0000 (5 18:18 +0200)
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Sat, 10 Jun 2017 14:00:01 +0000 (10 16:00 +0200)
treeec5adc86f5df1772c95dc884a50c6b72362214e2
parent88578349140acf4405b768a60be05e10b7b8b158
use NULL instead of 0 in testcases.

Sparse, normally emit a warning when 0 is used when a pointer
is expected but here these warnings were not emitted because
errors occured before these warnings have been emitted and
sparse doesn't emit any warnings as soon as an error has been
encountered.

However, there is some changes coming regarding how previous
errors inhibit warnings and with these changes these warnings
"0 instead of NULL" will now be emitted.

Prevent to have to emit these warning by using NULL instead of 0,
as it should always be.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
validation/function-redecl.c