You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by fa...@apache.org on 2008/02/22 17:41:01 UTC
svn commit: r630245 - /stdcxx/trunk/src/memattr.cpp
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 <fa...@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) {