configure.ac: remove some unused but set variables (LLVM/Clang)

Austin English austinenglish at gmail.com
Mon Jun 13 23:15:12 CDT 2011


-- 
-Austin
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index 9db37c7..8b32363 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1515,7 +1515,7 @@ then
 #include <alsa/asoundlib.h>
 #elif defined(HAVE_SYS_ASOUNDLIB_H)
 #include <sys/asoundlib.h>
-#endif]], [[int ret = snd_pcm_hw_params_get_access_mask(NULL, NULL)]])],
+#endif]], [[snd_pcm_hw_params_get_access_mask(NULL, NULL)]])],
                         [ALSALIBS="-lasound"])])
 fi
 
@@ -2150,12 +2150,12 @@ AC_CACHE_CHECK([whether we can use re-entrant gethostbyname_r Linux style],
     struct hostent *result;
     char *buf=0;
     int bufsize=0;
-    int res,errnr;
+    int errnr;
     char *addr=0;
     int addrlen=0;
     int addrtype=0;
-    res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
-    res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
+    gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
+    gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
     ]])],[wine_cv_linux_gethostbyname_r_6=yes],[wine_cv_linux_gethostbyname_r_6=no
 	])
    )


More information about the wine-patches mailing list