diff options
author | cjihrig <cjihrig@gmail.com> | 2019-02-02 13:50:39 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-02-05 08:40:43 -0500 |
commit | e2baa87b59d184f586ee19f0f3f8049ff4e17c58 (patch) | |
tree | 49c661362f7013f1b8f50b8432e181bb71f8846d /docs/src | |
parent | 110eb817bdb2e5f14e08a2afbca42146291251a8 (diff) | |
download | libuv-e2baa87b59d184f586ee19f0f3f8049ff4e17c58.tar.gz libuv-e2baa87b59d184f586ee19f0f3f8049ff4e17c58.zip |
win: simplify registry closing in uv_cpu_info()
RegCloseKey() is the first thing executed in both the success
and error case, so combine the calls.
PR-URL: https://github.com/libuv/libuv/pull/2171
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions