Post 3262128 by alva@mastodon.social
 (DIR) More posts by alva@mastodon.social
 (DIR) Post #3261773 by alva@mastodon.social
       2019-01-22T19:13:49Z
       
       0 likes, 0 repeats
       
       @thor Local gotos are fine, IMO. Let's you do single return, and have cleanup/whatever in one place. Weird about the warnings, though; I wonder what Clang says.
       
 (DIR) Post #3261921 by alva@mastodon.social
       2019-01-22T19:19:16Z
       
       0 likes, 0 repeats
       
       @thor The variants I've tried all seem to get flagged by Clang, but I don't know if I'm doing the same thing. https://godbolt.org/z/8dtNKB
       
 (DIR) Post #3262128 by alva@mastodon.social
       2019-01-22T19:28:47Z
       
       0 likes, 0 repeats
       
       @thor Interesting. I mostly use Clang, but I wouldn't have expected that from GCC. Clang even tells me under what conditions/which code path the variables would be uninitialised.
       
 (DIR) Post #3265315 by philcolbourn@noagendasocial.com
       2019-01-22T21:23:48Z
       
       0 likes, 0 repeats
       
       @thor how about some example code?