It looks like vcos_verify() is being used here to enable
better debugging (hit a breakpoint if we ever take this code
path and drop into a debugger, but in normal use do nothing).
The compiler now warns about the ignored vcos_verify() rvalue,
so just cast the result to (void).
KHRN_IMAGE_WRAP_T image;
if (!platform_get_pixmap_info(surface->pixmap, &image)) {
- vcos_verify(0); /* the pixmap has become invalid... */
+ (void)vcos_verify(0); /* the pixmap has become invalid... */
return;
}
KHRN_IMAGE_WRAP_T image;
if (!platform_get_pixmap_info(surface->pixmap, &image)) {
- vcos_verify(0); /* the pixmap has become invalid... */
+ (void)vcos_verify(0); /* the pixmap has become invalid... */
return;
}