On 13.05.2016 20:37, Cole Robinson wrote:
ATTRIBUTED_UNUSED tells the compiler not to throw a warning if the
parameter
('conn' in this case) isn't used in the function. So if the function _does_
use the parameter, the annotation is incorrect.
That means that if you grabbed that pattern from any other GetType
implementations, the ATTRIBUTE_UNUSED usage there may be incorrect as well. So
more opportunity for patches :)
Done, submitted patch for the qemu driver as well.
Fabian