diff options
author | Jean Delvare <khali@linux-fr.org> | 2003-06-16 17:19:10 +0000 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2003-06-16 17:19:10 +0000 |
commit | a1ca8861d43e264833071d2223946ceb4e85c296 (patch) | |
tree | f79af7fa3cd21fbbc92b6842daa621d67d937842 /prog | |
parent | eee8d62f7b105dc0abd01e4e56ef03783922fbe8 (diff) | |
download | lm-sensors-git-a1ca8861d43e264833071d2223946ceb4e85c296.tar.gz |
Fix compiler warning (uninitialized variable).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1791 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'prog')
-rw-r--r-- | prog/dump/i2cdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/dump/i2cdump.c b/prog/dump/i2cdump.c index f3f69842..6111bdf3 100644 --- a/prog/dump/i2cdump.c +++ b/prog/dump/i2cdump.c @@ -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) { |