fixed cppcheck errors (old values not used)
[psensor.git] / src / lib / amd.c
index 2401038..830e96b 100644 (file)
@@ -140,7 +140,7 @@ static int init()
        int i, inumberadapters, inumberadaptersactive = 0;
        int lpstatus, iadapterindex;
 
-       hdll = NULL;
+       hdll;
        adl_main_control_done = 0;
        active_adapters = NULL;
        hdll = dlopen("libatiadlxx.so", RTLD_LAZY|RTLD_GLOBAL);