xf86-video-v4l issueshttps://gitlab.freedesktop.org/xorg/driver/xf86-video-v4l/-/issues2018-08-14T18:44:52Zhttps://gitlab.freedesktop.org/xorg/driver/xf86-video-v4l/-/issues/1xf86-video-v4l-0.2.0/src/v4l.c:1154: bad call to memset ?2018-08-14T18:44:52ZBugzilla Migration Userxf86-video-v4l-0.2.0/src/v4l.c:1154: bad call to memset ?## Submitted by dcb..@..il.com
Assigned to **Xorg Project Team**
**[Link to original bug (#86381)](https://bugs.freedesktop.org/show_bug.cgi?id=86381)**
## Description
v4l.c:1154:39: warning: argument to 'sizeof' in 'memset' call ...## Submitted by dcb..@..il.com
Assigned to **Xorg Project Team**
**[Link to original bug (#86381)](https://bugs.freedesktop.org/show_bug.cgi?id=86381)**
## Description
v4l.c:1154:39: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess]
memset(&pPPriv->cap, 0, sizeof(&pPPriv->cap));
Maybe better code
memset(&pPPriv->cap, 0, sizeof(pPPriv->cap));
Version: git