X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=src%2Fext_nvml.c;h=8431354fc2c7b14cfa61ffee93e891fc5e7209a2;hb=f1cd53e3356c7165ace22378c5b315b1c0a7dea1;hp=9aed6dda5d822eaff1543e93a6da0afd44d1c971;hpb=6ba0eb8b39a90484c4831075a18cbf890b106efe;p=hashcat.git diff --git a/src/ext_nvml.c b/src/ext_nvml.c index 9aed6dd..8431354 100644 --- a/src/ext_nvml.c +++ b/src/ext_nvml.c @@ -9,7 +9,7 @@ int nvml_init (NVML_PTR *nvml) { - if (!nvml) return (-1); + if (!nvml) return -1; memset (nvml, 0, sizeof (NVML_PTR)); @@ -40,7 +40,7 @@ int nvml_init (NVML_PTR *nvml) if (data.quiet == 0) log_info ("WARNING: NVML library load failed, proceed without NVML HWMon enabled."); - return (-1); + return -1; } HC_LOAD_FUNC(nvml, nvmlErrorString, NVML_ERROR_STRING, NVML, 0)