aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-09-11 12:40:41 +0200
committermarha <marha@users.sourceforge.net>2013-09-11 12:40:41 +0200
commitaf858aeb7348909e334cfd0db0070e1661df00fc (patch)
tree47a24a5aa9831024fcba9691944159d97eea108b /xorg-server/glx
parent1de316b38f589817344e1a342050de4c427501df (diff)
downloadvcxsrv-af858aeb7348909e334cfd0db0070e1661df00fc.tar.gz
vcxsrv-af858aeb7348909e334cfd0db0070e1661df00fc.tar.bz2
vcxsrv-af858aeb7348909e334cfd0db0070e1661df00fc.zip
Solved compiler warnings
Diffstat (limited to 'xorg-server/glx')
-rw-r--r--xorg-server/glx/glxdricommon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/glx/glxdricommon.c b/xorg-server/glx/glxdricommon.c
index 97870b47e..79922154a 100644
--- a/xorg-server/glx/glxdricommon.c
+++ b/xorg-server/glx/glxdricommon.c
@@ -58,6 +58,7 @@ getUST(int64_t * ust)
#ifdef _MSC_VER
DebugBreak();
+ return -EFAULT;
#else
if (gettimeofday(&tv, NULL) == 0) {
ust[0] = (tv.tv_sec * 1000000) + tv.tv_usec;
@@ -66,7 +67,7 @@ getUST(int64_t * ust)
else {
return -errno;
}
- #endif
+#endif
}
const __DRIsystemTimeExtension systemTimeExtension = {