mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-28 16:00:58 +02:00
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:
@@ -852,7 +852,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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user