projects
/
platform
/
upstream
/
libatasmart.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix return of uninitialized variable
[platform/upstream/libatasmart.git]
/
atasmart.c
diff --git
a/atasmart.c
b/atasmart.c
index
3ff0334
..
d39e704
100644
(file)
--- a/
atasmart.c
+++ b/
atasmart.c
@@
-2579,6
+2579,7
@@
static int init_smart(SkDisk *d) {
}
disk_smart_read_thresholds(d);
+ ret = 0;
fail:
return ret;