Skip to content

Commit

Permalink
Coverity fixes related to OVMS
Browse files Browse the repository at this point in the history
  • Loading branch information
dkalinowski committed Jul 30, 2024
1 parent 9d35767 commit 551fdc4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
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

0 comments on commit 551fdc4

Please sign in to comment.