aboutsummaryrefslogtreecommitdiff
path: root/setupapi/setupapi_windows.go
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2019-02-04 11:45:37 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-02-05 12:59:42 +0100
commit963be8e993ae5688f3b0c490813a95391ec98c53 (patch)
treef66b410db599c8eb803c5046aed56fdfe1e47bba /setupapi/setupapi_windows.go
parente821cdabd2930d301d3a12a5d4d1fe8904cd1c14 (diff)
downloadwireguard-go-963be8e993ae5688f3b0c490813a95391ec98c53.tar.gz
wireguard-go-963be8e993ae5688f3b0c490813a95391ec98c53.zip
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>
Diffstat (limited to 'setupapi/setupapi_windows.go')
0 files changed, 0 insertions, 0 deletions