Преглед изворни кода

u-a: Remove unused new_choice assignment

Guillem Jover пре 15 година
родитељ
комит
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,