Either the diff is weird, or we now have an empty if-case here, if you think this is better, then perhaps rewrite this from if/else to a single if with inverted check ( if(a!=0) )