xf86-video-v4l-0.2.0/src/v4l.c:1154: bad call to memset ?
Submitted by dcb..@..il.com
Assigned to Xorg Project Team
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