“goto fail;” considered harmful [LWN.net]

Strict code formatting rules and constant code reviewing can lower the chance of such errors.

if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0)

via"goto fail;" considered harmful [LWN.net].

2 thoughts on ““goto fail;” considered harmful [LWN.net]

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.