[PATCH] Fix warning: control reaches end of non-void function.

Rüdiger Oertel ro at suse.de
Wed Feb 24 16:11:59 PST 2010


Signed-off-by: Johannes Obermayr <johannesobermayr at gmx.de>
---
 src/blade_accel_exa.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/blade_accel_exa.c b/src/blade_accel_exa.c
index 3129623..4a75be1 100644
--- a/src/blade_accel_exa.c
+++ b/src/blade_accel_exa.c
@@ -224,6 +224,7 @@ static void Composite(PixmapPtr pDst, int srcX, int srcY, int maskX,
 
 static void DoneComposite(PixmapPtr pDst)
 {
+    return 0;
 }
 
 static int MarkSync(ScreenPtr pScreen)
-- 
1.7.7


--nextPart1493878.VqSUBDgag7
Content-Disposition: attachment; filename="0001-Fix-warning-control-reaches-end-of-non-void-function.patch"
Content-Transfer-Encoding: 7Bit
Content-Type: text/x-patch; charset="UTF-8"; name="xgi-0001-Fix-warning-control-reaches-end-of-non-void-function.patch"



More information about the xorg-devel mailing list