public static int METHOD_1 ( int a , int b ) { <BUG> int sum = 0 ;</BUG> while ( b != 0 ) { int VAR_1 = a & b ; <BUG> sum = a ^ b ;</BUG> b = VAR_1 < < 1 ; } <BUG> return sum ;</BUG> }
public static int METHOD_1 ( int a , int b ) { while ( b != 0 ) { int VAR_1 = a & b ; a = a ^ b ; b = VAR_1 < < 1 ; } return a ; } 
