opencv cameraundistort: use G_GNUC_UNUSED for better portability

This commit is contained in:
Nicola Murino 2019-02-02 16:54:23 +01:00 committed by Nicolas Dufresne
parent 06d1b751ad
commit 1a96759a34

View file

@ -276,11 +276,9 @@ gst_camera_undistort_get_property (GObject * object, guint prop_id,
gboolean
gst_camera_undistort_set_info (GstOpencvVideoFilter * cvfilter,
gint in_width, gint in_height, __attribute__((unused))
int in_cv_type,
__attribute__((unused)) gint out_width,
__attribute__((unused)) gint out_height, __attribute__((unused))
int out_cv_type)
gint in_width, gint in_height, G_GNUC_UNUSED int in_cv_type,
G_GNUC_UNUSED gint out_width, G_GNUC_UNUSED gint out_height,
G_GNUC_UNUSED int out_cv_type)
{
GstCameraUndistort *undist = GST_CAMERA_UNDISTORT (cvfilter);