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

Remove redundant variable declaration

Ryan C. Thompson 9 лет назад
Родитель
Сommit
2e826e3f20
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      ido-ubiquitous.el

+ 1 - 3
ido-ubiquitous.el

@@ -471,9 +471,7 @@ each function to apply the appropriate override."
                  collect (list action match-type
                                (ido-ubiquitous--as-string func))))
   ;; set new overrides
-  (cl-loop with overridden-functions = nil
-           with final-value = nil
-           for override in newval
+  (cl-loop for override in newval
            for (action match-type func) = override
 
            ;; Remove duplicate overrides