mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-14 20:58:09 +00:00
There were a bunch of warnings about unused variables in UHD which were handled in different manners: - usrprio_rpc_common.hpp: Here a superfluous if statement was used to avoid the "unused" warning. However, recent compilers can also detect the superfluous if statement, so unused variable is now simply left undeclared. - radio_control_impl.cpp had an unused constant which is now removed, and a conditionally used capture value which is now made "used" even when TRACE-level logging is disabled. - Responder.cpp had an unused variable which was required to be specified as an output argument for a C-style function, so we declare it unused to silence the warnings. |
||
|---|---|---|
| .. | ||
| Responder.cpp | ||