Skip to content

Commit

Permalink
[C API] Fix coverity scan issue about GET_INTEL_GPU_PROPERTY_FROM_ARG…
Browse files Browse the repository at this point in the history
…S_LIST (openvinotoolkit#20330)

Signed-off-by: Zhai, Xuejun <[email protected]>
  • Loading branch information
zhaixuejun1993 authored Oct 10, 2023
1 parent aa6adcd commit d205684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bindings/c/src/ov_remote_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ inline bool check_intel_gpu_property_value_is_ptr(std::string& key) {
std::string property_key = va_arg(args_ptr, char*); \
if (check_intel_gpu_property_value_is_ptr(property_key)) { \
ov::Any value = va_arg(args_ptr, void*); \
property[property_key] = value; \
property[property_key] = std::move(value); \
} else { \
std::string _value = va_arg(args_ptr, char*); \
ov::Any value = _value; \
property[property_key] = value; \
property[property_key] = std::move(value); \
} \
}

Expand Down

0 comments on commit d205684

Please sign in to comment.