logoalt Hacker News

mort96yesterday at 10:42 AM0 repliesview on HN

No it wouldn't. 'err' is declared and initialized at the start of the function. Even if it wasn't initialized at the start, it would've been initialized by some earlier fallible function call which is also written as 'if ((err = something()) != 0)'