Skip to content

Commit

Permalink
Chore: remove unused assignment. (#9182)
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add authored and not-an-aardvark committed Aug 30, 2017
1 parent d672aef commit 2d90030
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/rules/padded-blocks.js
Expand Up @@ -111,7 +111,7 @@ module.exports = {
* @returns {boolean} Whether or not the token is followed by a blank line.
*/
function getFirstBlockToken(token) {
let prev = token,
let prev,
first = token;

do {
Expand All @@ -129,7 +129,7 @@ module.exports = {
*/
function getLastBlockToken(token) {
let last = token,
next = token;
next;

do {
next = last;
Expand Down
1 change: 0 additions & 1 deletion lib/rules/prefer-arrow-callback.js
Expand Up @@ -88,7 +88,6 @@ function getCallbackInfo(node) {
parent.parent.arguments.length === 1 &&
parent.parent.arguments[0].type === "ThisExpression"
);
node = parent;
parent = parent.parent;
} else {
return retv;
Expand Down

0 comments on commit 2d90030

Please sign in to comment.