Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:remove unused variable #452

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading