mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Added void-call to avoid warning in release mode
This commit is contained in:
parent
f262a9eb11
commit
b880603a30
@ -19,6 +19,8 @@ DispmanxFrameGrabber::DispmanxFrameGrabber(const unsigned width, const unsigned
|
|||||||
// Obtain the display information
|
// Obtain the display information
|
||||||
DISPMANX_MODEINFO_T vc_info;
|
DISPMANX_MODEINFO_T vc_info;
|
||||||
int result = vc_dispmanx_display_get_info(_vc_display, &vc_info);
|
int result = vc_dispmanx_display_get_info(_vc_display, &vc_info);
|
||||||
|
// Keep compiler happy in 'release' mode
|
||||||
|
(void)result;
|
||||||
assert(result == 0);
|
assert(result == 0);
|
||||||
std::cout << "Display opened with resolution: " << vc_info.width << "x" << vc_info.height << std::endl;
|
std::cout << "Display opened with resolution: " << vc_info.width << "x" << vc_info.height << std::endl;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user