summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2021-07-14 16:28:43 +0200
committerDenys Vlasenko2021-07-14 16:32:19 +0200
commit95fffd8a7fd49637d7b6d9f25b69ac6d8c9a2fff (patch)
tree80dcba7d87afe67fca1e4f17b390273f73c65215
parentd3480dd58211d9d8c06ec7ef00089262603003ff (diff)
downloadbusybox-95fffd8a7fd49637d7b6d9f25b69ac6d8c9a2fff.zip
busybox-95fffd8a7fd49637d7b6d9f25b69ac6d8c9a2fff.tar.gz
vi: remove redundant assignment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--editors/vi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index a4b9587..23a44d5 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -3244,7 +3244,6 @@ static void colon(char *buf)
TEST_UNDO2 ? ALLOW_UNDO_CHAIN : ALLOW_UNDO);
found += bias;
ls += bias;
- dot = ls;
//q += bias; - recalculated anyway
}
# if ENABLE_FEATURE_VI_REGEX_SEARCH