repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cec: silence all 'unused' compiler warnings
[deb_libcec.git]
/
src
/
lib
/
AdapterDetection.cpp
diff --git
a/src/lib/AdapterDetection.cpp
b/src/lib/AdapterDetection.cpp
index de1da7c1f3fb2c435d1fbc6f255ec0a9b86eb192..f06809975abc49300558e06780b4445633f6dd6c 100644
(file)
--- a/
src/lib/AdapterDetection.cpp
+++ b/
src/lib/AdapterDetection.cpp
@@
-324,5
+324,7
@@
uint8_t CAdapterDetection::FindAdapters(cec_adapter *deviceList, uint8_t iBufSiz
}
#endif
+ iBufSize = 0; /* silence "unused" warning on linux/osx */
+
return iFound;
}