summaryrefslogtreecommitdiff
path: root/src/amd_gx_rotate.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2007-05-31 14:30:10 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2007-05-31 14:30:10 -0400
commitc37fc13ea909a7a1315d3723ccac0e4146b3a0b2 (patch)
tree4779b26aa16fca0e5e96c42f69591fff2e66cff6 /src/amd_gx_rotate.c
parent0953a855c7d20186a8efb6db4842eb777f6e0e56 (diff)
Add extra GCC warning fu. -Wall cleanup.
Diffstat (limited to 'src/amd_gx_rotate.c')
-rw-r--r--src/amd_gx_rotate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/amd_gx_rotate.c b/src/amd_gx_rotate.c
index 3e464ca..0b81851 100644
--- a/src/amd_gx_rotate.c
+++ b/src/amd_gx_rotate.c
@@ -135,10 +135,10 @@ GXRotate(ScrnInfoPtr pScrni, DisplayModePtr mode)
shadowAdd(pScrni->pScreen, pPixmap, GXUpdate, GXWindowLinear,
pGeode->rotation, NULL);
- /* XXX - FIXME - bail gracefully */
-
- if (!ret)
+ if (!ret) {
ErrorF("shadowAdd failed\n");
+ goto error;
+ }
}
if (pGeode->rotation == RR_Rotate_0)