Mercurial > vim
view src/testdir/test49.ok @ 21305:91d4af3309e7 v8.2.1203
patch 8.2.1203: unused assignments in expression evaluation
Commit: https://github.com/vim/vim/commit/3ac9c4701a5f1e39303ca2885956db92215966db
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 13 21:28:03 2020 +0200
patch 8.2.1203: unused assignments in expression evaluation
Problem: Unused assignments in expression evaluation.
Solution: Move declarations and assignments to inner blocks where possible.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 13 Jul 2020 21:30:04 +0200 |
parents | ece46bd3c9af |
children | 792398a9fe39 |
line wrap: on
line source
Results of test49.vim: *** Test 18: OK (67224583) *** Test 19: OK (69275973) *** Test 20: OK (1874575085) *** Test 21: OK (147932225) *** Test 22: OK (4161) *** Test 23: OK (49) *** Test 24: OK (41) *** Test 27: OK (1996459) *** Test 28: OK (1996459) *** Test 29: OK (170428555) *** Test 30: OK (190905173) *** Test 31: OK (190905173) *** Test 34: OK (2146584868) *** Test 35: OK (2146584868) *** Test 36: OK (1071644672) *** Test 37: OK (1071644672) *** Test 38: OK (357908480) *** Test 39: OK (357908480) *** Test 40: OK (357908480) *** Test 49: OK (179000669) *** Test 50: OK (363550045) *** Test 52: OK (1247112011) *** Test 53: OK (131071) *** Test 54: OK (2047) *** Test 55: OK (1023) *** Test 56: OK (511) *** Test 57: OK (2147450880) *** Test 58: OK (624945) *** Test 59: OK (2038431743) *** Test 60: OK (311511339) *** Test 61: OK (374889517) *** Test 62: OK (286331153) *** Test 63: OK (236978127) *** Test 64: OK (1499645335) *** Test 65: OK (70187) *** Test 66: OK (5464) *** Test 67: OK (212514423) *** Test 68: OK (212514423) *** Test 76: OK (1610087935) *** Test 77: OK (1388671) *** Test 78: OK (134217728) *** Test 79: OK (70288929) *** Test 80: OK (17895765) *** Test 81: OK (387) *** Test 82: OK (8454401) *** Test 83: OK (2835) *** Test 84: OK (934782101) *** Test 85: OK (198689) --- Test 86: No Crash for vimgrep on BufUnload *** Test 86: OK (0) --- Test 88: All tests were run with throwing exceptions on error. The $VIMNOERRTHROW control is not configured. --- Test 88: All tests were run with throwing exceptions on interrupt. The $VIMNOINTTHROW control is not configured. *** Test 88: OK (50443995)