mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-28 12:40:42 +00:00
Fix compiler warning (uninitialized variable).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1791 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
eee8d62f7b
commit
a1ca8861d4
1 file changed
+1
-1
+1
-1
@@ -336,7 +336,7 @@ int main(int argc, char *argv[])
|
||||
if(size == I2C_SMBUS_BLOCK_DATA || size == I2C_SMBUS_I2C_BLOCK_DATA) {
|
||||
if(size == I2C_SMBUS_BLOCK_DATA) {
|
||||
res = i2c_smbus_read_block_data(file, bank, cblock);
|
||||
} else if(size == I2C_SMBUS_I2C_BLOCK_DATA) {
|
||||
} else {
|
||||
#if USE_I2C_BLOCK
|
||||
res = 0;
|
||||
for (i = 0; i < 256; i+=32) {
|
||||
|
||||
Reference in new issue
Block a user