From 73d33d2d4acff6dd75695c4e1354b9395cb14397 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 22 May 2014 23:00:30 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/gamma-linux-drm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gamma-linux-drm.c b/src/gamma-linux-drm.c index 57127bf..19bcc27 100644 --- a/src/gamma-linux-drm.c +++ b/src/gamma-linux-drm.c @@ -182,6 +182,8 @@ int libgamma_linux_drm_partition_initialise(libgamma_partition_state_t* restrict libgamma_drm_card_data_t* data; char pathname[PATH_MAX]; + (void) site; + /* Check for partition index overflow. */ if (partition > INT_MAX) return LIBGAMMA_NO_SUCH_PARTITION; -- cgit v1.2.3-70-g09d2