mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
libarmbox/video.cpp: fix possible compile error
error: unused variable 'r' [-Werror=unused-variable]
This commit is contained in:
@@ -852,7 +852,7 @@ bool getvideo2(unsigned char *video, int xres, int yres)
|
||||
perror(videosnapshot);
|
||||
return false;
|
||||
}
|
||||
ssize_t r = read(fd_video, video, xres * yres * 3);
|
||||
//ssize_t r = read(fd_video, video, xres * yres * 3);
|
||||
close(fd_video);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user