Kaydet (Commit) 1a4276c5 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: ignoring lockf return value

üst 7dd08985
......@@ -100,7 +100,8 @@ recently_used_file::recently_used_file() :
//------------------------------------------------
recently_used_file::~recently_used_file()
{
lockf(fileno(file_), F_ULOCK, 0);
int ret = lockf(fileno(file_), F_ULOCK, 0);
SAL_WARN_IF(ret != 0, "shell", "cannot unlock recently unused file");
fclose(file_);
}
......
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