Re: [PATCH] revolve possible null pointer dereference issue found by cppcheck

2018-04-09 Thread Илья Шипицин
thank you. sorry for false positive 2018-04-09 12:43 GMT+05:00 Michal Srb : > On pondělí 9. dubna 2018 9:31:54 CEST Ilya Shipitsin wrote: > > [dix/inpututils.c:909] -> [dix/inpututils.c:905]: (warning) Either the > > condition 'if(list)' is redundant or there is possible null

Re: [PATCH] revolve possible null pointer dereference issue found by cppcheck

2018-04-09 Thread Michal Srb
On pondělí 9. dubna 2018 9:31:54 CEST Ilya Shipitsin wrote: > [dix/inpututils.c:909] -> [dix/inpututils.c:905]: (warning) Either the > condition 'if(list)' is redundant or there is possible null pointer > dereference: list. I think this is a false positive by cppcheck. It looks like it

[PATCH] revolve possible null pointer dereference issue found by cppcheck

2018-04-09 Thread Ilya Shipitsin
[dix/inpututils.c:909] -> [dix/inpututils.c:905]: (warning) Either the condition 'if(list)' is redundant or there is possible null pointer dereference: list. Signed-off-by: Ilya Shipitsin --- dix/inpututils.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff