Commit 15ffe90a authored by rswindell's avatar rswindell
Browse files

Address coverity-scan defect (unterminated string).

parent 42e2ce73
...@@ -470,7 +470,6 @@ void help() ...@@ -470,7 +470,6 @@ void help()
sprintf(hbuf,"ERROR: Cannot read help key (%s:%u) at %ld in: %s" sprintf(hbuf,"ERROR: Cannot read help key (%s:%u) at %ld in: %s"
,p,helpline,l,api->helpixbfile); ,p,helpline,l,api->helpixbfile);
} }
else
hbuf[HELPBUF_SIZE-1] = 0; hbuf[HELPBUF_SIZE-1] = 0;
} }
fclose(fp); fclose(fp);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment