Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 97969 invoked from network); 25 Aug 2009 14:53:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Aug 2009 14:53:24 -0000 Received: (qmail 26659 invoked by uid 500); 25 Aug 2009 14:53:49 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 26559 invoked by uid 500); 25 Aug 2009 14:53:48 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 26550 invoked by uid 99); 25 Aug 2009 14:53:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 14:53:48 +0000 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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 14:53:45 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1396F23888CB; Tue, 25 Aug 2009 14:53:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r807659 - /commons/sandbox/runtime/trunk/src/main/native/port/fnmatch.c Date: Tue, 25 Aug 2009 14:53:25 -0000 To: commits@commons.apache.org From: mturk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090825145325.1396F23888CB@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mturk Date: Tue Aug 25 14:53:24 2009 New Revision: 807659 URL: http://svn.apache.org/viewvc?rev=807659&view=rev Log: Although not reached some compilers issue a warning Modified: commons/sandbox/runtime/trunk/src/main/native/port/fnmatch.c Modified: commons/sandbox/runtime/trunk/src/main/native/port/fnmatch.c URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/port/fnmatch.c?rev=807659&r1=807658&r2=807659&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/native/port/fnmatch.c (original) +++ commons/sandbox/runtime/trunk/src/main/native/port/fnmatch.c Tue Aug 25 14:53:24 2009 @@ -93,7 +93,7 @@ char *newp; char c, test; - for (stringstart = string;;) + for (stringstart = string;;) { switch (c = *pattern++) { case EOS: if ((flags & FNM_LEADING_DIR) && *string == '/') @@ -183,7 +183,9 @@ ++string; break; } + } /* NOTREACHED */ + return (FNM_NOMATCH); } static int