Fix some more compiler warnings

This commit is contained in:
Lawrence Lee
2024-11-18 23:42:33 -08:00
parent 721d664136
commit 29a344aef1
6 changed files with 58 additions and 4 deletions

View File

@@ -299,6 +299,7 @@ void setUserOnlyPermission(const Glib::RefPtr<Gio::File> file, bool execute)
.grfAccessPermissions = FILE_ALL_ACCESS,
.grfAccessMode = GRANT_ACCESS,
.grfInheritance = NO_INHERITANCE,
.Trustee = {},
};
BuildTrusteeWithSid(&(ea.Trustee), user_sid);
PACL new_dacl_raw = nullptr;