From 15ffe90aaa40d8228e9b4209518cb66280bad0a1 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sat, 17 Mar 2018 02:21:17 +0000 Subject: [PATCH] Address coverity-scan defect (unterminated string). --- src/uifc/uifcx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/uifc/uifcx.c b/src/uifc/uifcx.c index 1be127cd9b..d4ae675ae5 100644 --- a/src/uifc/uifcx.c +++ b/src/uifc/uifcx.c @@ -470,8 +470,7 @@ void help() sprintf(hbuf,"ERROR: Cannot read help key (%s:%u) at %ld in: %s" ,p,helpline,l,api->helpixbfile); } - else - hbuf[HELPBUF_SIZE-1] = 0; + hbuf[HELPBUF_SIZE-1] = 0; } fclose(fp); } -- GitLab