st/xorg: Kill a couple of compilation warnings
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
This commit is contained in:
parent
6ffa23b8fe
commit
f3ddffc392
|
@ -94,7 +94,8 @@ crtc_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
|
||||||
struct crtc_private *crtcp = crtc->driver_private;
|
struct crtc_private *crtcp = crtc->driver_private;
|
||||||
drmModeCrtcPtr drm_crtc = crtcp->drm_crtc;
|
drmModeCrtcPtr drm_crtc = crtcp->drm_crtc;
|
||||||
drmModeModeInfo drm_mode;
|
drmModeModeInfo drm_mode;
|
||||||
int i, ret, connector_id;
|
int i, ret;
|
||||||
|
unsigned int connector_id;
|
||||||
|
|
||||||
for (i = 0; i < config->num_output; output = NULL, i++) {
|
for (i = 0; i < config->num_output; output = NULL, i++) {
|
||||||
output = config->output[i];
|
output = config->output[i];
|
||||||
|
|
|
@ -881,7 +881,6 @@ ExaModifyPixmapHeader(PixmapPtr pPixmap, int width, int height,
|
||||||
|
|
||||||
if (priv->tex) {
|
if (priv->tex) {
|
||||||
struct pipe_subresource subdst, subsrc;
|
struct pipe_subresource subdst, subsrc;
|
||||||
struct pipe_surface *src_surf;
|
|
||||||
|
|
||||||
subdst.face = 0;
|
subdst.face = 0;
|
||||||
subdst.level = 0;
|
subdst.level = 0;
|
||||||
|
|
Loading…
Reference in New Issue