From 1a96759a342878e0cad1e7777fbd6630cca75bc0 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Sat, 2 Feb 2019 16:54:23 +0100 Subject: [PATCH] opencv cameraundistort: use G_GNUC_UNUSED for better portability --- ext/opencv/gstcameraundistort.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ext/opencv/gstcameraundistort.cpp b/ext/opencv/gstcameraundistort.cpp index 988fb228b3..ca45ce2150 100644 --- a/ext/opencv/gstcameraundistort.cpp +++ b/ext/opencv/gstcameraundistort.cpp @@ -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);