mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtcm: Coverity 89021
This commit is contained in:
parent
801c7d36c6
commit
8620b2e27b
1 changed files with 3 additions and 1 deletions
|
@ -2096,8 +2096,10 @@ appointments_to_file(CSA_session_handle target, CSA_entry_handle *appointment_li
|
|||
if (f_ptr == NULL)
|
||||
return(B_FALSE);
|
||||
|
||||
if (num_appts == 0)
|
||||
if (num_appts == 0) {
|
||||
fclose(f_ptr);
|
||||
return(B_FALSE);
|
||||
}
|
||||
|
||||
fprintf(f_ptr, "DTCM Archive 1.0\n");
|
||||
for (i = 0; i < num_appts; i++) {
|
||||
|
|
Loading…
Reference in a new issue