Description of problem: Hello there, I just tried to compile package busybox-0.60.2-7 from Redhat 8.0. Here are some of the compiler messages. md5sum.c:446: warning: operation on `temp' may be undefined md5sum.c:454: warning: operation on `temp' may be undefined md5sum.c:461: warning: operation on `temp' may be undefined md5sum.c:468: warning: operation on `temp' may be undefined sed.c:427: warning: operation on `idx' may be undefined Here is a patch which fixes the messages. *** ./md5sum.c.old 2002-11-23 14:14:51.000000000 +0000 --- ./md5sum.c 2002-11-23 14:18:11.000000000 +0000 *************** *** 443,449 **** for ( i = 0 ; i < 16 ; i++ ) { temp = A + FF(B,C,D) + cwp[(int)(*pp++)] + *pc++; ! temp = CYCLIC (temp, ps[i&3]); temp += B; A = D; D = C; C = B; B = temp; } --- 443,449 ---- for ( i = 0 ; i < 16 ; i++ ) { temp = A + FF(B,C,D) + cwp[(int)(*pp++)] + *pc++; ! CYCLIC (temp, ps[i&3]); temp += B; A = D; D = C; C = B; B = temp; } *************** *** 451,471 **** ps += 4; for ( i = 0 ; i < 16 ; i++ ) { temp = A + FG(B,C,D) + cwp[(int)(*pp++)] + *pc++; ! temp = CYCLIC (temp, ps[i&3]); temp += B; A = D; D = C; C = B; B = temp; } ps += 4; for ( i = 0 ; i < 16 ; i++ ) { temp = A + FH(B,C,D) + cwp[(int)(*pp++)] + *pc++; ! temp = CYCLIC (temp, ps[i&3]); temp += B; A = D; D = C; C = B; B = temp; } ps += 4; for ( i = 0 ; i < 16 ; i++ ) { temp = A + FI(B,C,D) + cwp[(int)(*pp++)] + *pc++; ! temp = CYCLIC (temp, ps[i&3]); temp += B; A = D; D = C; C = B; B = temp; } --- 451,471 ---- ps += 4; for ( i = 0 ; i < 16 ; i++ ) { temp = A + FG(B,C,D) + cwp[(int)(*pp++)] + *pc++; ! CYCLIC (temp, ps[i&3]); temp += B; A = D; D = C; C = B; B = temp; } ps += 4; for ( i = 0 ; i < 16 ; i++ ) { temp = A + FH(B,C,D) + cwp[(int)(*pp++)] + *pc++; ! CYCLIC (temp, ps[i&3]); temp += B; A = D; D = C; C = B; B = temp; } ps += 4; for ( i = 0 ; i < 16 ; i++ ) { temp = A + FI(B,C,D) + cwp[(int)(*pp++)] + *pc++; ! CYCLIC (temp, ps[i&3]); temp += B; A = D; D = C; C = B; B = temp; } *** ./sed.c.old 2002-11-23 14:18:28.000000000 +0000 --- ./sed.c 2002-11-23 14:19:15.000000000 +0000 *************** *** 424,430 **** /* second part (if present) will begin with a comma */ if (cmdstr[idx] == ',') ! idx += get_address(sed_cmd, &cmdstr[++idx], &sed_cmd->end_line, &sed_cmd->end_match); /* last part (mandatory) will be a command */ if (cmdstr[idx] == '\0') --- 424,434 ---- /* second part (if present) will begin with a comma */ if (cmdstr[idx] == ',') ! { ! ++idx; ! idx += get_address(sed_cmd, &cmdstr[ idx], &sed_cmd->end_line, ! &sed_cmd->end_match); ! } /* last part (mandatory) will be a command */ if (cmdstr[idx] == '\0') Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Works fine in the current release.