summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-12 16:24:25 -0800
committerVinson Lee <[email protected]>2009-12-12 16:24:25 -0800
commit75e8dbb2351c6bdbda0e5eaefdf434a7a5518c75 (patch)
treeb684d6cdecef6b927d2760b90e8fd1c7cb6a964e /src/gallium
parent9dc018618d024cfbf1f342b0141bb6aab21f41b1 (diff)
i915g: Silence unused value warning in intel_drm_get_device_id.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/drm/intel/gem/intel_drm_api.c1
1 files changed, 1 insertions, 0 deletions
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);
}