Commit 3f9f0874 authored by deuce's avatar deuce
Browse files

Fix impossible to hit bug.

Found by scan-build.
parent 9645e468
......@@ -720,10 +720,8 @@ CIOLIBEXPORT void CIOLIBCALL ciolib_gettextinfo(struct text_info *info)
{
CIOLIB_INIT()
if(cio_api.gettextinfo) {
if(cio_api.gettextinfo)
cio_api.gettextinfo(&cio_textinfo);
return;
}
if(info!=&cio_textinfo)
*info=cio_textinfo;
......
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