REFACTOR: value assigned to cp here is unused. (#9672)

REFACTOR: value assigned to cp here is unused. (#9672)

diff --git a/app/assets/javascripts/discourse/app/lib/autocomplete.js b/app/assets/javascripts/discourse/app/lib/autocomplete.js
index 4979760..03fc408 100644
--- a/app/assets/javascripts/discourse/app/lib/autocomplete.js
+++ b/app/assets/javascripts/discourse/app/lib/autocomplete.js
@@ -492,7 +492,6 @@ export default function(options) {
             (!prev || allowedLettersRegex.test(prev))
           ) {
             completeStart = c;
-            cp = completeEnd = initial;
             term = me[0].value.substring(c + 1, initial);
             updateAutoComplete(dataSource(term, options));
             return true;

GitHub sha: a2109bd9

This commit appears in #9672 which was approved by eviltrout. It was merged by jjaffeux.