Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Save two redundant calls of GetLastError() (#589)
Assuming there was an eror during printing (wvsprintf) inside of vprintLastError(), the second call could have returned a different error code than expected. Apart from that, to me it looks to be an idiom to call GetLastError() only once per error. In every case, printing errors now should be a tiny little bit faster. :-)
- Loading branch information