1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtstyle: Coverity 88110

This commit is contained in:
Peter Howkins 2018-07-03 18:57:35 +01:00
parent 43a31a81fa
commit 25e371dbe2

View file

@ -239,7 +239,7 @@ GetUserIMSelectionFile(
)
{
int ret = NoError;
FILE *fp;
FILE *fp = NULL;
ret = GetUserFileName(env);
@ -253,7 +253,11 @@ GetUserIMSelectionFile(
start_tag_line(env->file_sel->fname);
ret = ReadImSelectionFile(env->file_sel, fp);
if(fp) {
fclose(fp);
}
return ret;
}