[vlc-devel] commit: CPU: win32 simplification (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Jan 17 11:32:36 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jan 17 11:31:33 2010 +0100| [0f5ff88e50e24cadd691ecc5de0ce183ea18473c] | committer: Jean-Baptiste Kempf 

CPU: win32 simplification

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f5ff88e50e24cadd691ecc5de0ce183ea18473c
---

 src/misc/cpu.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index 1b2014d..3b0d278 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -85,9 +85,7 @@ static bool check_OS_capability( const char *psz_capability, pid_t pid )
 
 # else /* WIN32 */
 #  define check_capability(name, flag, code)   \
-     do {                                      \
-        i_capabilities |= (flag);              \
-     } while(0)
+        i_capabilities |= (flag);
 # endif
 #endif
 




More information about the vlc-devel mailing list