Added -Wall for Clang and GCC (#15513)
* Added -Wall for Clang and GCC * Fixes * Don't use /J * Fixed warnings * Fixed warnings * More fixes * Fixed for MSVC * Fixed more warnings on Windows * Suppressed some warnings in template plugin * Update src/tests/functional/plugin/shared/include/behavior/plugin/caching_tests.hpp * Added suppression for PT FE * Suppressed warnings in TF FE * Suppressed warnings on Core unit tests * Suppress warnings in python * Suppressed Windows warning for 3rd party modules * Suppresed one more warning
This commit is contained in:
@@ -70,7 +70,7 @@ ov::Tensor read_weights(const std::string& filepath) {
|
||||
ov::Tensor weights(ov::element::u8, {static_cast<size_t>(fileSize)});
|
||||
read_file(filepath, weights.data(), weights.get_byte_size());
|
||||
|
||||
return std::move(weights);
|
||||
return weights;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user