summaryrefslogtreecommitdiffstats
path: root/src/usr/i2c/i2c.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/i2c/i2c.C')
-rwxr-xr-xsrc/usr/i2c/i2c.C4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/i2c/i2c.C b/src/usr/i2c/i2c.C
index 19403c9b4..5dbbf892f 100755
--- a/src/usr/i2c/i2c.C
+++ b/src/usr/i2c/i2c.C
@@ -1355,7 +1355,9 @@ errlHndl_t i2cSetupMasters ( void )
continue;
}
- for( uint32_t engine = 0; engine < CENTAUR_MASTER_ENGINES; engine++ )
+ for( uint32_t engine = 0; /*loop doesn't iterate*/
+ engine < CENTAUR_MASTER_ENGINES;
+ engine++ )
{
// Write Mode Register:
mode.value = 0x0ull;
OpenPOWER on IntegriCloud