defined why2_empty_log_file

this could cause some segfault if not check for correct return, but yk... This shouldn't ever happen, so yk
This commit is contained in:
Václav Šmejkal 2023-02-04 18:06:12 +01:00
parent cd9dcaedaf
commit 3a645d5167
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -117,3 +117,12 @@ why2_decrypted_output why2_decrypt_logger(why2_log_file logger)
lines lines
}; };
} }
why2_log_file why2_empty_log_file()
{
return (why2_log_file)
{
INVALID_FILE,
NULL
};
}