diff mbox

[2/5] xvmc: Silence gcc, add parentheses around assignment.

Message ID 1296451359-28449-2-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_dump.c b/src/xvmc/intel_xvmc_dump.c
index 974bcbb..d22d311 100644
--- a/src/xvmc/intel_xvmc_dump.c
+++ b/src/xvmc/intel_xvmc_dump.c
@@ -38,7 +38,7 @@  void intel_xvmc_dump_open(void)
 	if (xvmc_dump)
 		return;
 
-	if (d = getenv("INTEL_XVMC_DUMP"))
+	if ((d = getenv("INTEL_XVMC_DUMP")))
 		xvmc_dump = 1;
 
 	if (xvmc_dump) {