# HG changeset patch # User diego # Date 1241955424 0 # Node ID 294522d3c22ec4110349d71cbcf353a4af6b57aa # Parent 70803f88fba8d2bf302c586d72ae87c601b6b727 Move preprocessor condition before variable declaration, fixes the warning: libswscale/swscale.c:1795: warning: unused variable 'flags' diff -r 70803f88fba8 -r 294522d3c22e libswscale/swscale.c --- a/libswscale/swscale.c Sat May 09 21:37:07 2009 +0000 +++ b/libswscale/swscale.c Sun May 10 11:37:04 2009 +0000 @@ -1792,9 +1792,9 @@ static SwsFunc getSwsFunc(SwsContext *c) { +#if CONFIG_RUNTIME_CPUDETECT && CONFIG_GPL int flags = c->flags; -#if CONFIG_RUNTIME_CPUDETECT && CONFIG_GPL #if ARCH_X86 // ordered per speed fastest first if (flags & SWS_CPU_CAPS_MMX2) {