i915g: Silence unused value warning in intel_drm_get_device_id.
authorVinson Lee <vlee@vmware.com>
Sun, 13 Dec 2009 00:24:25 +0000 (16:24 -0800)
committerVinson 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

index 4c5a1d2ea89027eb010fc7b071d818136237a09b..01025659b9f450dfa0bb950172a1795a2dec60aa 100644 (file)
@@ -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);
 }