]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
Stop accessing SetupDiGetDeviceInfoListDetail() output on error
authorSimon Rozman <simon@rozman.si>
Mon, 4 Feb 2019 10:45:37 +0000 (11:45 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 5 Feb 2019 11:59:42 +0000 (12:59 +0100)
commit963be8e993ae5688f3b0c490813a95391ec98c53
treef66b410db599c8eb803c5046aed56fdfe1e47bba
parente821cdabd2930d301d3a12a5d4d1fe8904cd1c14
Stop accessing SetupDiGetDeviceInfoListDetail() output on error

The data returned by SetupDiGetDeviceInfoListDetail() is nil on error
which will cause the test to crash should the function fail.

Signed-off-by: Simon Rozman <simon@rozman.si>
setupapi/setupapi_windows_test.go