1. In the small, Coverity is being confused by the #ifdefs. It's true that under certain #ifdef combinations that style_prop is a dead store, but that doesn't make this a bug.
2. More importantly, this is code that's autogenerated by gtk-doc just to scan the "real" source code, so if this were a bug (which it's not) it would belong to gtk-doc, rather than bamf, dee, and the messaging menu.
I recommend we tell Coverity to ignore this issue.
There are two things going on here:
1. In the small, Coverity is being confused by the #ifdefs. It's true that under certain #ifdef combinations that style_prop is a dead store, but that doesn't make this a bug.
2. More importantly, this is code that's autogenerated by gtk-doc just to scan the "real" source code, so if this were a bug (which it's not) it would belong to gtk-doc, rather than bamf, dee, and the messaging menu.
I recommend we tell Coverity to ignore this issue.