projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc0186
)
i915g: Silence unused value warning in intel_drm_get_device_id.
author
Vinson Lee
<vlee@vmware.com>
Sun, 13 Dec 2009 00:24:25 +0000
(16:24 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 13 Dec 2009 00:24:25 +0000
(16:24 -0800)
src/gallium/winsys/drm/intel/gem/intel_drm_api.c
patch
|
blob
|
history
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 4c5a1d2ea89027eb010fc7b071d818136237a09b..01025659b9f450dfa0bb950172a1795a2dec60aa 100644
(file)
--- 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);
}