Explorar el Código

u-a: Remove unreachable code at the end of alternative_select_choice()

The function contains an infinite loop that does not break out.
Guillem Jover hace 14 años
padre
commit
18f0cefb38
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      utils/update-alternatives.c

+ 0 - 2
utils/update-alternatives.c

@@ -1602,8 +1602,6 @@ alternative_select_choice(struct alternative *a)
 			}
 			}
 		}
 		}
 	}
 	}
-	free(current);
-	return NULL;
 }
 }
 
 
 static void
 static void