diff options
author | Tobias Droste <[email protected]> | 2012-11-29 17:02:28 +0100 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2012-12-11 12:53:58 -0500 |
commit | cb8300f5a98016ccc8d34f1bbfee9eb319a2a8a8 (patch) | |
tree | 18ec2be68ea91f6bbb4b01d7da0efc5708c92808 /src/gallium/state_trackers/clover | |
parent | bc4bf3c84015144100ebdb4015bf06f7eab9f646 (diff) |
st/egl/drm: only unref the udev device if needed
Fixes compiler warning:
drm/native_drm.c: In function ‘native_create_display’:
drm/native_drm.c:180:21: warning: ‘device’ may be used uninitialized in this function [-Wmaybe-uninitialized]
drm/native_drm.c:157:24: note: ‘device’ was declared here
Signed-off-by: Tobias Droste <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover')
0 files changed, 0 insertions, 0 deletions