compat/linux: for pointers replace 0 with NULL.
plvc is a pointer, no functional change. Found with devel/coccinelle.
This commit is contained in:
parent
01b5c6f73e
commit
500ed14d6e
@ -2902,7 +2902,7 @@ linux_v4l_cliplist_copy(struct l_video_window *lvw, struct video_window *vw)
|
||||
vw->clips = NULL;
|
||||
ppvc = &(vw->clips);
|
||||
while (clipcount-- > 0) {
|
||||
if (plvc == 0) {
|
||||
if (plvc == NULL) {
|
||||
error = EFAULT;
|
||||
break;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user