libarmbox/video.cpp: fix possible compile error

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


Origin commit data
------------------
Branch: master
Commit: e10b5fd6f2
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
committed by max_10
parent 313ecf2f3f
commit 75af85cb63

View File

@@ -853,7 +853,7 @@ bool getvideo2(unsigned char *video, int xres, int yres)
perror(videosnapshot); perror(videosnapshot);
return false; 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); close(fd_video);
return true; return true;
} }