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:
Jean Delvare committed 2003-06-16 17:19:10 +00:00
1 parent eee8d62f7b
commit a1ca8861d4
1 file changed
+1 -1
+1 -1
View File
@@ -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) {