diff options
author | Cyril Brulebois <kibi@debian.org> | 2011-01-31 06:22:36 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-31 09:58:33 +0000 |
commit | 1b9349bceb9172d9bf01638b2df10b9b79e883b4 (patch) | |
tree | 8f1b5cbbc12af301fd8bbef918e3d4440791ed5b /src/xvmc | |
parent | ae8877e30707cae586565b4deee4c7fd9ac7d3ed (diff) |
xvmc: Silence gcc, add parentheses around assignment.
Get rid of the following with CFLAGS="-Wall -Werror":
| CC intel_xvmc_dump.lo
| cc1: warnings being treated as errors
| intel_xvmc_dump.c: In function ‘intel_xvmc_dump_open’:
| intel_xvmc_dump.c:41: error: suggest parentheses around assignment used as truth value
Signed-off-by: Cyril Brulebois <kibi@debian.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/xvmc')
-rw-r--r-- | src/xvmc/intel_xvmc_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xvmc/intel_xvmc_dump.c b/src/xvmc/intel_xvmc_dump.c index 974bcbb0..d22d311a 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) { |