Skip to content

Commit

Permalink
Silence byte-compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Nov 3, 2016
1 parent 05ce76e commit 95027f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions racer.el
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ If nil, we will query $CARGO_HOME at runtime."
Unescape strings as necessary."
(let ((parts nil)
(current "")
(i 0)
(in-string nil))
(i 0))
(while (< i (length raw-output))
(let ((char (elt raw-output i))
(prev-char (and (> i 0) (elt raw-output (1- i)))))
Expand Down Expand Up @@ -432,7 +431,7 @@ Commands:
(substring s (+ idx (length needle)))
s))

(defun racer-complete--prefix-p (beg end)
(defun racer-complete--prefix-p (beg _end)
"Return t if a completion should be triggered for a prefix between BEG and END."
(save-excursion
(goto-char beg)
Expand Down

0 comments on commit 95027f3

Please sign in to comment.