diff mbox

[5/5] xvmc: Stop using uninitialized variable.

Message ID 1296451359-28449-5-git-send-email-kibi@debian.org (mailing list archive)
State New, archived
Headers show

Commit Message

Cyril Brulebois Jan. 31, 2011, 5:22 a.m. UTC
None
diff mbox

Patch

diff --git a/src/xvmc/intel_xvmc.c b/src/xvmc/intel_xvmc.c
index d89cda2..1b96945 100644
--- a/src/xvmc/intel_xvmc.c
+++ b/src/xvmc/intel_xvmc.c
@@ -669,12 +669,10 @@  _X_EXPORT Status XvMCPutSurface(Display * display, XvMCSurface * surface,
  */
 _X_EXPORT Status XvMCSyncSurface(Display * display, XvMCSurface * surface)
 {
-	Status ret;
-
 	if (!display || !surface)
 		return XvMCBadSurface;
 
-	return ret;
+	return Success;
 }
 
 /*