commit | dc633cf82758f67f656cda7fa8ccc30414ee53f8 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Apr 23 14:33:19 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Apr 23 14:33:19 2016 +0200 |
tree | e8a018a83d53136a6891b4ee4d37a8eb4183ce53 | |
parent | 73dfe917ba6357413aaf98a021c91add5ac6e9bc [diff] [blame] |
patch 7.4.1780 Problem: Warnings reported by cppcheck. Solution: Fix the warnings. (Dominique Pelle)
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 657c772..4ddfbe4 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c
@@ -335,9 +335,8 @@ get_maxbacktrace_level(void) { char *p, *q; - int maxbacktrace = 1; + int maxbacktrace = 0; - maxbacktrace = 0; if (sourcing_name != NULL) { p = (char *)sourcing_name;