I sort of want to G_GNUC_WARN_UNUSED_RESULT all the things that are transfer-full return values... because of a stupid bug I just fixed that GCC should have trivially caught for me.

But if I were to go search all those down and patch it, it'd be like a thousand lines of API chatter and I'm not sure I'm diligent enough to stick with it.


@hergertme Even if the compiler doesn't use a lot of smarts when checking, it's still better than nothing. It has helped me in the past catch bugs as well!

Sign in to participate in the conversation

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!