Return-Path: X-Original-To: apmail-apr-commits-archive@www.apache.org Delivered-To: apmail-apr-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 961ABFB9F for ; Sun, 24 Mar 2013 15:35:21 +0000 (UTC) Received: (qmail 53572 invoked by uid 500); 24 Mar 2013 15:35:21 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 53533 invoked by uid 500); 24 Mar 2013 15:35:21 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 53521 invoked by uid 99); 24 Mar 2013 15:35:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Mar 2013 15:35:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Mar 2013 15:35:19 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 737212388962; Sun, 24 Mar 2013 15:34:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1460405 - /apr/apr/trunk/test/testnames.c Date: Sun, 24 Mar 2013 15:34:58 -0000 To: commits@apr.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130324153458.737212388962@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: trawick Date: Sun Mar 24 15:34:58 2013 New Revision: 1460405 URL: http://svn.apache.org/r1460405 Log: hide an unused variable on Unix Modified: apr/apr/trunk/test/testnames.c Modified: apr/apr/trunk/test/testnames.c URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testnames.c?rev=1460405&r1=1460404&r2=1460405&view=diff ============================================================================== --- apr/apr/trunk/test/testnames.c (original) +++ apr/apr/trunk/test/testnames.c Sun Mar 24 15:34:58 2013 @@ -269,7 +269,9 @@ static void root_from_cwd_and_back(abts_ const char *path = "//"; char *origpath; char *testpath; +#if defined(WIN32) || defined(OS2) || defined(NETWARE) int hadfailed; +#endif ABTS_INT_EQUAL(tc, APR_SUCCESS, apr_filepath_get(&origpath, 0, p)); path = origpath; @@ -308,7 +310,9 @@ static void root_from_cwd_and_back(abts_ | APR_FILEPATH_NOTABOVEROOT | APR_FILEPATH_NOTRELATIVE, p); ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); +#if defined(WIN32) || defined(OS2) || defined(NETWARE) hadfailed = tc->failed; +#endif /* The API doesn't promise equality!!! * apr_filepath_get never promised a canonical filepath. * We'll emit noise under verbose so the user is aware,