Skip to content

Commit

Permalink
fixed the return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixstars-momoko committed Oct 31, 2023
1 parent 4dc7779 commit f0e0262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/arvcamera.c
Original file line number Diff line number Diff line change
Expand Up @@ -2854,9 +2854,9 @@ arv_camera_get_register (ArvCamera *camera, const char *feature,guint64 length,
{
ArvCameraPrivate *priv = arv_camera_get_instance_private (camera);

g_return_val_if_fail (ARV_IS_CAMERA (camera), 0.0);
g_return_val_if_fail (ARV_IS_CAMERA (camera));

return arv_device_get_register_feature_value (priv->device, feature, length, value, error);
arv_device_get_register_feature_value (priv->device, feature, length, value, error);
}

/**
Expand Down

0 comments on commit f0e0262

Please sign in to comment.