Mercurial > vim
comparison src/vim9compile.c @ 23837:cd91a892aa44 v8.2.2460
patch 8.2.2460: Coverity warns for unused value
Commit: https://github.com/vim/vim/commit/fc1dafa91cbf7876d711e8e36171eeec78eae13b
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 3 19:57:00 2021 +0100
patch 8.2.2460: Coverity warns for unused value
Problem: Coverity warns for unused value.
Solution: Do not reset the return value to OK.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 03 Feb 2021 20:00:05 +0100 |
parents | 7e0d8f1cae7d |
children | 85cf06ddb2a8 |
comparison
equal
deleted
inserted
replaced
23836:ed8758e1411a | 23837:cd91a892aa44 |
---|---|
5145 ufunc->uf_block_depth = block_depth; | 5145 ufunc->uf_block_depth = block_depth; |
5146 } | 5146 } |
5147 } | 5147 } |
5148 } | 5148 } |
5149 // TODO: warning for trailing text? | 5149 // TODO: warning for trailing text? |
5150 r = OK; | |
5151 | 5150 |
5152 theend: | 5151 theend: |
5153 vim_free(lambda_name); | 5152 vim_free(lambda_name); |
5154 return r == FAIL ? NULL : (char_u *)""; | 5153 return r == FAIL ? NULL : (char_u *)""; |
5155 } | 5154 } |