summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-10-29 19:25:23 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-10-29 19:26:23 -0700
commitd5fe4c4aa83db6e5f9c37eaecad006b6cfc466e8 (patch)
treea8672bc30dace5ab85429f7a6de46aa0d03f49c8
parent447f63b6d49de6b4678a0ea54d0152fc808c5e04 (diff)
Silence warning about xg47_CrtcInit returning a value when it should return void
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--src/xg47_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xg47_display.c b/src/xg47_display.c
index 0e5d496..035fd23 100644
--- a/src/xg47_display.c
+++ b/src/xg47_display.c
@@ -195,7 +195,7 @@ xg47_CrtcInit(ScrnInfoPtr pScrn, unsigned dev_type)
data = calloc(sizeof(*data), 1);
if (data == NULL) {
- return FALSE;
+ return;
}
crtc = xf86CrtcCreate(pScrn, & xg47_crtc_funcs);