[PATCH] Fix warning: control reaches end of non-void function.
Johannes Obermayr
johannesobermayr at gmx.de
Thu Nov 3 15:22:34 PDT 2011
---
src/vb_i2c.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/vb_i2c.c b/src/vb_i2c.c
index 96e26e3..6fc95c9 100755
--- a/src/vb_i2c.c
+++ b/src/vb_i2c.c
@@ -1632,6 +1632,7 @@ BOOLEAN bReadClockLine(PXGI_HW_DEVICE_INFO pHWDE)
return(bReadClockLineFCNT(pHWDE));
else
ErrorF("Error(XGI) : Unkonwn output device! \n");
+ return FALSE;
}
BOOLEAN bReadDataLine(PXGI_HW_DEVICE_INFO pHWDE)
@@ -1644,6 +1645,7 @@ BOOLEAN bReadDataLine(PXGI_HW_DEVICE_INFO pHWDE)
return(bReadDataLineFCNT(pHWDE));
else
ErrorF("Error(XGI) : Unkonwn output device! \n");
+ return FALSE;
}
BOOLEAN bEDIDCheckSum(PUCHAR pjEDIDBuf,ULONG ulBufSize)
@@ -1890,4 +1892,4 @@ BOOLEAN bGetEDID(
PDEBUGI2C(ErrorF("bGetEDID()-return(%d)\n", status == NO_ERROR ? 1:0));
return (status == NO_ERROR);
-}
\ No newline at end of file
+}
--
1.7.7
--nextPart1381966.muMLNQOXd4--
More information about the xorg-devel
mailing list