Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 17933 invoked from network); 5 Oct 2006 15:29:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Oct 2006 15:29:34 -0000 Received: (qmail 62821 invoked by uid 500); 5 Oct 2006 15:29:34 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 62799 invoked by uid 500); 5 Oct 2006 15:29:34 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 62788 invoked by uid 99); 5 Oct 2006 15:29:34 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2006 08:29:34 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=5.0 tests=ALL_TRUSTED,NO_REAL_NAME Received: from [140.211.166.113] ([140.211.166.113:51896] helo=eris.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 49/60-04543-CD425254 for ; Thu, 05 Oct 2006 08:29:32 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 9C1991A981D; Thu, 5 Oct 2006 08:29:30 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r453270 - /incubator/stdcxx/trunk/src/time_put.cpp Date: Thu, 05 Oct 2006 15:29:30 -0000 To: stdcxx-commits@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061005152930.9C1991A981D@eris.apache.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: sebor Date: Thu Oct 5 08:29:29 2006 New Revision: 453270 URL: http://svn.apache.org/viewvc?view=rev&rev=453270 Log: 2006-10-05 Martin Sebor * time_put.cpp (__rw_get_time_put_data): Added braces around the initializer of a local array to silence a gcc warning. Modified: incubator/stdcxx/trunk/src/time_put.cpp Modified: incubator/stdcxx/trunk/src/time_put.cpp URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/time_put.cpp?view=diff&rev=453270&r1=453269&r2=453270 ============================================================================== --- incubator/stdcxx/trunk/src/time_put.cpp (original) +++ incubator/stdcxx/trunk/src/time_put.cpp Thu Oct 5 08:29:29 2006 @@ -6,22 +6,23 @@ * *************************************************************************** * - * Copyright 2005-2006 The Apache Software Foundation or its licensors, - * as applicable. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at * - * Copyright 2001-2006 Rogue Wave Software. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 2001-2006 Rogue Wave Software. * **************************************************************************/ @@ -2097,7 +2098,7 @@ wchar_t wide_data [1]; #endif // _RWSTD_NO_WCHAR_T char data [4]; - } null_fmt = { 0 }; + } null_fmt = { { 0 } }; const __rw_time_t *ptime = _RWSTD_STATIC_CAST (const __rw_time_t*, facet->_C_data ());