浏览代码

Remove redundant variable declaration

Ryan C. Thompson 9 年之前
父节点
当前提交
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