diff options
author | Gavin Howard <gavin@yzena.com> | 2021-07-03 16:20:58 -0600 |
---|---|---|
committer | Gavin Howard <gavin@yzena.com> | 2021-07-03 16:40:04 -0600 |
commit | ab4bc5b44e9fc81a62df068c38224d6c352968f4 (patch) | |
tree | c4bf4e8dfec67dfb0a7fe31f19ef224a3b58cf31 /src/history.c | |
parent | b37c1ec5f484a1a8770b470846d1cba335f757a8 (diff) | |
download | platform_external_bc-ab4bc5b44e9fc81a62df068c38224d6c352968f4.tar.gz platform_external_bc-ab4bc5b44e9fc81a62df068c38224d6c352968f4.tar.bz2 platform_external_bc-ab4bc5b44e9fc81a62df068c38224d6c352968f4.zip |
Quiet three scan-build errors
Signed-off-by: Gavin Howard <gavin@yzena.com>
Diffstat (limited to 'src/history.c')
-rw-r--r-- | src/history.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/history.c b/src/history.c index 91ee54b9..e4307f33 100644 --- a/src/history.c +++ b/src/history.c @@ -286,6 +286,7 @@ static size_t bc_history_nextLen(const char *buf, size_t buf_len, if (bc_history_comboChar(cp)) { // Currently unreachable? + if (col_len != NULL) *col_len = 0; return 0; } |