From 1be922b131c47d8c9191f42b82994c1ee63451eb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 23 Aug 2014 16:42:54 +0200 Subject: unused parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/lib/gamma-w32-gdi.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/gamma-w32-gdi.c') diff --git a/src/lib/gamma-w32-gdi.c b/src/lib/gamma-w32-gdi.c index c86bc65..cce5d6c 100644 --- a/src/lib/gamma-w32-gdi.c +++ b/src/lib/gamma-w32-gdi.c @@ -270,6 +270,8 @@ int libgamma_w32_gdi_get_crtc_information(libgamma_crtc_information_t* restrict #define KNOWN_FIELDS (LIBGAMMA_CRTC_INFO_GAMMA_SIZE | LIBGAMMA_CRTC_INFO_GAMMA_DEPTH) #define _E(FIELD) ((fields & FIELD) ? LIBGAMMA_CRTC_INFO_NOT_SUPPORTED : 0) + (void) crtc; + /* Windows GDI does not support EDID or monitor dimensions. */ this->edid_error = _E(LIBGAMMA_CRTC_INFO_EDID); this->width_mm_error = _E(LIBGAMMA_CRTC_INFO_WIDTH_MM); -- cgit v1.2.3-70-g09d2