[Intel-gfx] [PATCH] Fix compiler warning in i830_copy_video_data() if XvMC is disabled
cworth at cworth.org
Thu Dec 10 14:08:52 PST 2009
On Wed, 9 Dec 2009 09:57:20 +0100, Tobias Doerffel <tobias.doerffel at gmail.com> wrote:
> 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.
I've committed this now, and will push it out shortly.
PS. An interesting additional question is whether we can just require
XvMC always, (he says, wanting to remove as many instances of #ifdef
From the driver as possible...)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/intel-gfx/attachments/20091210/6b9c1e8f/attachment.pgp
More information about the Intel-gfx