libarmbox/video.cpp: fix possible compile error

error: unused variable 'r' [-Werror=unused-variable]


Origin commit data
------------------
Branch: master
Commit: 06f9a1b694
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-03-13 (Tue, 13 Mar 2018)



------------------
This commit was generated by Migit
This commit is contained in:
2018-03-13 22:20:11 +01:00
parent 381e7f3023
commit 6d8a853e82

View File

@@ -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;
}