Fix compiler warning in i830_copy_video_data() if XvMC is disabled
authorTobias Doerffel <tobias.doerffel@gmail.com>
Wed, 9 Dec 2009 08:57:20 +0000 (09:57 +0100)
committerCarl Worth <cworth@cworth.org>
Thu, 10 Dec 2009 22:07:30 +0000 (14:07 -0800)
commit8d6faf7dc546bda64e11bf6dea7f3c997f07f887
treeb61a051355dc9b6cefda7ab2e88002a685990f9a
parentbd81734465912d79d6320a6fb021ce43d258b906
Fix compiler warning in i830_copy_video_data() if XvMC is disabled

The variable "intel" is unused when building i830_video.c without XvMC
support which results in a compiler warning:

  i830_video.c: In function 'i830_copy_video_data':
  i830_video.c:1443: warning: unused variable `intel'

Trivial fix via #ifdef.
src/i830_video.c