Skip to content

Commit

Permalink
fix coverity issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az committed Nov 17, 2024
1 parent 2fea862 commit 855774e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ds/d500/d500-private.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,15 @@ namespace librealsense
return get_d500_depth_intrinsic_by_resolution(raw_data, width, height, is_symmetrization_enabled);
else
LOG_ERROR("Cannot read depth table intrinsic values, using default values");
break;
}
case d500_calibration_table_id::rgb_calibration_id:
{
if ( !raw_data.empty() )
return get_d500_color_intrinsic_by_resolution(raw_data, width, height);
else
LOG_ERROR("Cannot read color table intrinsic values, using default values");
break;
}
default:
throw invalid_value_exception(rsutils::string::from() << "Parsing Calibration table type " << static_cast<int>(table_id) << " is not supported");
Expand Down

0 comments on commit 855774e

Please sign in to comment.