Skip to content

Commit

Permalink
fix:remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayak3 committed Oct 1, 2024
1 parent d68ad38 commit 8407b95
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/observer/storage/clog/log_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,6 @@ RC LogFileManager::init(const char *directory, int max_entry_number_per_file)
directory_ = filesystem::absolute(filesystem::path(directory));
max_entry_number_per_file_ = max_entry_number_per_file;

filesystem::file_status directory_status = filesystem::status(directory_);

// 检查目录是否存在,不存在就创建出来
if (!filesystem::is_directory(directory_)) {
LOG_INFO("directory is not exist. directory=%s", directory_.c_str());
Expand Down

0 comments on commit 8407b95

Please sign in to comment.