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

Coverity fixes related to OVMS #706

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion src/cpp/src/block_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ class BlockManager {
}
phisical_blocks_released += released_count;
}
phisical_blocks_released = phisical_blocks_released;
return num_required_blocks <= phisical_blocks_released;
}

Expand Down
2 changes: 1 addition & 1 deletion src/cpp/src/tokenizers_path.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ std::filesystem::path tokenizers_relative_to_genai() {
// was already defined.
class ScopedVar {
public:
bool was_already_set;
bool was_already_set{false};
static constexpr char ENVIRONMENT_VARIABLE_NAME[] = "OPENVINO_TOKENIZERS_PATH_GENAI";
explicit ScopedVar(const std::string& environment_variable_value) {
#ifdef _WIN32
Expand Down
Loading