[asterisk-commits] twilson: branch twilson/config_work r362827 - /team/twilson/config_work/inclu...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 20 10:20:52 CDT 2012


Author: twilson
Date: Fri Apr 20 10:20:48 2012
New Revision: 362827

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=362827
Log:
Shut up a stupid compiler warning on Ubuntu Lucid

Modified:
    team/twilson/config_work/include/asterisk/utils.h

Modified: team/twilson/config_work/include/asterisk/utils.h
URL: http://svnview.digium.com/svn/asterisk/team/twilson/config_work/include/asterisk/utils.h?view=diff&rev=362827&r1=362826&r2=362827
==============================================================================
--- team/twilson/config_work/include/asterisk/utils.h (original)
+++ team/twilson/config_work/include/asterisk/utils.h Fri Apr 20 10:20:48 2012
@@ -864,7 +864,7 @@
 char *ast_utils_which(const char *binary, char *fullpath, size_t fullpath_size);
 
 #define RAII_VAR(vartype,varname,initval,dtor) \
-    void _dtor_ ## varname (vartype * v) { dtor(*v); } \
+    auto void _dtor_ ## varname (vartype * v) { dtor(*v); } \
     vartype varname __attribute__((cleanup(_dtor_ ## varname))) = (initval)
 
 #endif /* _ASTERISK_UTILS_H */




More information about the asterisk-commits mailing list