diff options
author | Ryan Long <ryan.long@oarcorp.com> | 2021-03-01 11:07:42 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-03-08 14:04:10 -0600 |
commit | 3246fa42e21b3aaa8703c95544a38850cc97334f (patch) | |
tree | 2966d55e68cf3a18a32d952952e5e6e8fc01d0fb /cpukit/libmisc | |
parent | validation: Use common wording (diff) | |
download | rtems-3246fa42e21b3aaa8703c95544a38850cc97334f.tar.bz2 |
main_edit.c: Fix Unchecked return value (CID #1255318)
CID 1255318: Unchecked return value in display_line().
Updates #4257
Diffstat (limited to '')
-rw-r--r-- | cpukit/libmisc/shell/main_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/main_edit.c b/cpukit/libmisc/shell/main_edit.c index a0110495e8..8ac7eeea5b 100644 --- a/cpukit/libmisc/shell/main_edit.c +++ b/cpukit/libmisc/shell/main_edit.c @@ -1089,7 +1089,7 @@ static void display_line(struct editor *ed, int pos, int fullline) { int selstart, selend, ch; char *s; - get_selection(ed, &selstart, &selend); + (void) get_selection(ed, &selstart, &selend); while (col < maxcol) { if (margin == 0) { if (!hilite && pos >= selstart && pos < selend) { |