Просмотр исходного кода

u-a: Remove unused new_choice assignment

Guillem Jover лет назад: 15
Родитель
Сommit
cf715ae93a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      utils/update-alternatives.c

+ 1 - 1
utils/update-alternatives.c

@@ -2459,7 +2459,7 @@ main(int argc, char **argv)
 
 		if (current_choice && !alternative_has_choice(a, current_choice)) {
 			struct fileset *best = alternative_get_best(a);
-			new_choice = best->master_file;
+
 			warning(_("current alternative %s is unknown, "
 			          "switching to %s for link group %s."),
 			        current_choice, best->master_file,