diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-22 23:00:30 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-22 23:00:30 +0200 |
commit | 73d33d2d4acff6dd75695c4e1354b9395cb14397 (patch) | |
tree | 993da91da51e71439b37f81a3e9f71c079c9fe4b | |
parent | implement libgamma_linux_drm_crtc_get_gamma_ramps (diff) | |
download | libgamma-73d33d2d4acff6dd75695c4e1354b9395cb14397.tar.gz libgamma-73d33d2d4acff6dd75695c4e1354b9395cb14397.tar.bz2 libgamma-73d33d2d4acff6dd75695c4e1354b9395cb14397.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/gamma-linux-drm.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |