Return-Path: Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: (qmail 69010 invoked from network); 22 Feb 2008 16:41:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Feb 2008 16:41:24 -0000 Received: (qmail 70765 invoked by uid 500); 22 Feb 2008 16:41:20 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 70751 invoked by uid 500); 22 Feb 2008 16:41:19 -0000 Mailing-List: contact commits-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list commits@stdcxx.apache.org Received: (qmail 70742 invoked by uid 99); 22 Feb 2008 16:41:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 08:41:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 16:40:41 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B71811A9832; Fri, 22 Feb 2008 08:41:01 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r630245 - /stdcxx/trunk/src/memattr.cpp Date: Fri, 22 Feb 2008 16:41:01 -0000 To: commits@stdcxx.apache.org From: faridz@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080222164101.B71811A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 * 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) {