Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/filterStorage.js

Issue 29804571: Noissue - Remove unnecessary references to undefined (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created June 12, 2018, 4:27 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/synchronizer.js » ('j') | lib/synchronizer.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/filterStorage.js
===================================================================
--- a/lib/filterStorage.js
+++ b/lib/filterStorage.js
@@ -761,17 +761,17 @@
this.wantObj = true;
this.curObj = {};
break;
case "subscription filters":
this.wantObj = false;
this.curObj = [];
break;
default:
- this.wantObj = undefined;
Manish Jethani 2018/06/12 04:33:25 There's no reason to specifically assign this to u
+ this.wantObj = null;
this.curObj = null;
}
}
else if (this.wantObj === false && val)
this.curObj.push(val.replace(/\\\[/g, "["));
}
finally
{
« no previous file with comments | « no previous file | lib/synchronizer.js » ('j') | lib/synchronizer.js » ('J')

Powered by Google App Engine
This is Rietveld