Mercurial > vim
comparison src/popupmenu.c @ 19673:62ea983a9cb4 v8.2.0393
patch 8.2.0393: Coverity warns for not using return value
Commit: https://github.com/vim/vim/commit/c0300633292ee648c7154a7828eb1c76637bd9af
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 16 20:07:16 2020 +0100
patch 8.2.0393: Coverity warns for not using return value
Problem: Coverity warns for not using return value.
Solution: Add (void).
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 Mar 2020 20:15:05 +0100 |
parents | e7b4fff348dd |
children | 3ff714d765ba |
comparison
equal
deleted
inserted
replaced
19672:97aa56fab5a3 | 19673:62ea983a9cb4 |
---|---|
1069 void | 1069 void |
1070 pum_set_event_info(dict_T *dict) | 1070 pum_set_event_info(dict_T *dict) |
1071 { | 1071 { |
1072 if (!pum_visible()) | 1072 if (!pum_visible()) |
1073 return; | 1073 return; |
1074 dict_add_number(dict, "height", pum_height); | 1074 (void)dict_add_number(dict, "height", pum_height); |
1075 dict_add_number(dict, "width", pum_width); | 1075 (void)dict_add_number(dict, "width", pum_width); |
1076 dict_add_number(dict, "row", pum_row); | 1076 (void)dict_add_number(dict, "row", pum_row); |
1077 dict_add_number(dict, "col", pum_col); | 1077 (void)dict_add_number(dict, "col", pum_col); |
1078 dict_add_number(dict, "size", pum_size); | 1078 (void)dict_add_number(dict, "size", pum_size); |
1079 dict_add_bool(dict, "scrollbar", pum_scrollbar ? VVAL_TRUE : VVAL_FALSE); | 1079 (void)dict_add_bool(dict, "scrollbar", |
1080 pum_scrollbar ? VVAL_TRUE : VVAL_FALSE); | |
1080 } | 1081 } |
1081 #endif | 1082 #endif |
1082 | 1083 |
1083 #if defined(FEAT_BEVAL_TERM) || defined(FEAT_TERM_POPUP_MENU) || defined(PROTO) | 1084 #if defined(FEAT_BEVAL_TERM) || defined(FEAT_TERM_POPUP_MENU) || defined(PROTO) |
1084 static void | 1085 static void |