This line causes GCC warnings to be emitted when -Wextra is used, as the single equals in a conditional is in many causes a bug (but not this case). You can silence it by wrapping up the conditional in a second set of parenthes:

``if((temp = i2c_master_error())) {``