summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-11-29 10:36:19 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-29 10:36:19 +0000
commit293eb9ba4669b1500370502397d399681e7098f0 (patch)
tree1918a8ec8f2c8165e501b38692665cef1884a7b4 /src/errors.h
parent38453528c3372293d70c8e85471a6188749ff331 (diff)
patch 8.2.3693: Coverity warns for possibly using a NULL pointerv8.2.3693
Problem: Coverity warns for possibly using a NULL pointer. Solution: Check for NULL and give an error.
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h
index 3c76bb70d5..5cc98e7864 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -355,7 +355,8 @@ EXTERN char e_cannot_delete_vim9_script_function_str[]
INIT(= N_("E1084: Cannot delete Vim9 script function %s"));
EXTERN char e_not_callable_type_str[]
INIT(= N_("E1085: Not a callable type: %s"));
-// E1086 unused
+EXTERN char e_function_reference_invalid[]
+ INIT(= N_("E1086: Function reference invalid"));
EXTERN char e_cannot_use_index_when_declaring_variable[]
INIT(= N_("E1087: Cannot use an index when declaring a variable"));
// E1088 unused