aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-23 16:42:54 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-23 16:42:54 +0200
commit1be922b131c47d8c9191f42b82994c1ee63451eb (patch)
tree90fbd43ef36f6de1b88b91d3da45448eb599d09c /src/lib
parentm comment (diff)
downloadlibgamma-1be922b131c47d8c9191f42b82994c1ee63451eb.tar.gz
libgamma-1be922b131c47d8c9191f42b82994c1ee63451eb.tar.bz2
libgamma-1be922b131c47d8c9191f42b82994c1ee63451eb.tar.xz
unused parameter
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/lib/gamma-w32-gdi.c2
1 files changed, 2 insertions, 0 deletions
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);