projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed cppcheck errors (old values not used)
[psensor.git]
/
src
/
lib
/
amd.c
diff --git
a/src/lib/amd.c
b/src/lib/amd.c
index
2401038
..
830e96b
100644
(file)
--- a/
src/lib/amd.c
+++ b/
src/lib/amd.c
@@
-140,7
+140,7
@@
static int init()
int i, inumberadapters, inumberadaptersactive = 0;
int lpstatus, iadapterindex;
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);
adl_main_control_done = 0;
active_adapters = NULL;
hdll = dlopen("libatiadlxx.so", RTLD_LAZY|RTLD_GLOBAL);