From: Vinson Lee Date: Sun, 13 Dec 2009 00:24:25 +0000 (-0800) Subject: i915g: Silence unused value warning in intel_drm_get_device_id. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75e8dbb2351c6bdbda0e5eaefdf434a7a5518c75;p=mesa.git i915g: Silence unused value warning in intel_drm_get_device_id. --- diff --git a/src/gallium/winsys/drm/intel/gem/intel_drm_api.c b/src/gallium/winsys/drm/intel/gem/intel_drm_api.c index 4c5a1d2ea89..01025659b9f 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_drm_api.c +++ b/src/gallium/winsys/drm/intel/gem/intel_drm_api.c @@ -31,6 +31,7 @@ intel_drm_get_device_id(unsigned int *device_id) } shutup_gcc = fgets(path, sizeof(path), file); + (void) shutup_gcc; sscanf(path, "%x", device_id); fclose(file); }