Mercurial > vim
comparison src/evalfunc.c @ 26855:08508fc809cc v8.2.3956
patch 8.2.3956: duplicate assignment
Commit: https://github.com/vim/vim/commit/4b1478093eb8b8bebc94b1f596e0afc25db4d189
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri Dec 31 15:21:53 2021 +0000
patch 8.2.3956: duplicate assignment
Problem: Duplicate assignment.
Solution: Remove the second assignment. (closes https://github.com/vim/vim/issues/9442)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 31 Dec 2021 16:30:03 +0100 |
parents | e5fdd48c442b |
children | bce848ec8b1b |
comparison
equal
deleted
inserted
replaced
26854:6dc1e864bd3d | 26855:08508fc809cc |
---|---|
4845 case MBLOCK: | 4845 case MBLOCK: |
4846 buf[0] = Ctrl_V; | 4846 buf[0] = Ctrl_V; |
4847 sprintf((char *)buf + 1, "%ld", reglen + 1); | 4847 sprintf((char *)buf + 1, "%ld", reglen + 1); |
4848 break; | 4848 break; |
4849 } | 4849 } |
4850 rettv->v_type = VAR_STRING; | |
4851 rettv->vval.v_string = vim_strsave(buf); | 4850 rettv->vval.v_string = vim_strsave(buf); |
4852 } | 4851 } |
4853 | 4852 |
4854 /* | 4853 /* |
4855 * "gettagstack()" function | 4854 * "gettagstack()" function |