stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r630245 - /stdcxx/trunk/src/memattr.cpp
Date Fri, 22 Feb 2008 16:41:01 GMT
Author: faridz
Date: Fri Feb 22 08:40:59 2008
New Revision: 630245

URL: http://svn.apache.org/viewvc?rev=630245&view=rev
Log:
2008-02-22  Farid Zaripov  <farid_zaripov@epam.com>

	* src/memattr.cpp (__rw_memattr): Declare errno_save as unused to disable
	eccp warning #177-D "variable "errno_save" declared but not referenced".

Modified:
    stdcxx/trunk/src/memattr.cpp

Modified: stdcxx/trunk/src/memattr.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/src/memattr.cpp?rev=630245&r1=630244&r2=630245&view=diff
==============================================================================
--- stdcxx/trunk/src/memattr.cpp (original)
+++ stdcxx/trunk/src/memattr.cpp Fri Feb 22 08:40:59 2008
@@ -202,6 +202,8 @@
                 return next == page ? -1 : DIST (next, addr);
         }
 
+#  else
+        _RWSTD_UNUSED (errno_save);
 #  endif
 
         if (_RWSTD_SIZE_MAX == nbytes) {



Mime
View raw message