mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
simple_display: avoid compiler warning
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: a0a76fe77a
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-13 (Mon, 13 Nov 2017)
Origin message was:
------------------
- simple_display: avoid compiler warning
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
This commit is contained in:
@@ -554,6 +554,8 @@ void CLCD::setBrightness(int dimm)
|
||||
if (pfd)
|
||||
write(pfd, value.c_str(), value.length());
|
||||
close(pfd);
|
||||
#else
|
||||
(void)dimm; // avoid compiler warning
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user