refactor
Some checks reported errors
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
Scott E. Graves 2025-04-04 10:05:17 -05:00
parent 52c2780283
commit dfa170022a

View File

@ -1140,7 +1140,7 @@ auto remote_server::winfsp_create(PWSTR file_name, UINT32 create_options,
std::uint32_t flags{0U}; std::uint32_t flags{0U};
utils::windows_create_to_unix(create_options, granted_access, flags, mode); utils::windows_create_to_unix(create_options, granted_access, flags, mode);
int res = 0; auto res{0};
if ((create_options & FILE_DIRECTORY_FILE) != 0U) { if ((create_options & FILE_DIRECTORY_FILE) != 0U) {
res = mkdir(file_path.c_str(), mode); res = mkdir(file_path.c_str(), mode);
if (res >= 0) { if (res >= 0) {