Skip to content

Commit

Permalink
PR #13518 from Nir-Az: Fix Coverity issues from PR #13512
Browse files Browse the repository at this point in the history
  • Loading branch information
OhadMeir authored Nov 17, 2024
2 parents 2fea862 + 855774e commit e1cf8e5
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 e1cf8e5

Please sign in to comment.