![]() gcc 5.4 correctly warned that a null pointer was being passed into the entity-specific "set_qos" function when changing a topic QoS, where that parameter was tagged as "non-null". As it was never dereferenced in this case the resulting behaviour was still correct. It turns out that the entire function was overly complicated and that simply passing the entity pointer round allows eliminating a few arguments as well. (Oddly none of the more modern toolchains used pick this up.) Signed-off-by: Erik Boasson <eb@ilities.com> |
||
---|---|---|
.. | ||
cmake | ||
include | ||
src | ||
tests | ||
CMakeLists.txt |