lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [6529] Fix clang build: dangling 'else'


From: Greg Chicares
Subject: [lmi-commits] [6529] Fix clang build: dangling 'else'
Date: Fri, 25 Mar 2016 14:38:58 +0000

Revision: 6529
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6529
Author:   chicares
Date:     2016-03-25 14:38:57 +0000 (Fri, 25 Mar 2016)
Log Message:
-----------
Fix clang build: dangling 'else'

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/getopt.cpp

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2016-03-25 14:37:55 UTC (rev 6528)
+++ lmi/trunk/ChangeLog 2016-03-25 14:38:57 UTC (rev 6529)
@@ -38752,3 +38752,13 @@
   test_coding_rules.cpp
 Support Clang (VZ).
 
+20160325T1437Z <address@hidden> [454]
+
+  census_view.cpp
+Fix clang build: don't specify incorrect type (VZ).
+
+20160325T1438Z <address@hidden> [454]
+
+  getopt.cpp
+Fix clang build: dangling 'else' (VZ).
+

Modified: lmi/trunk/getopt.cpp
===================================================================
--- lmi/trunk/getopt.cpp        2016-03-25 14:37:55 UTC (rev 6528)
+++ lmi/trunk/getopt.cpp        2016-03-25 14:38:57 UTC (rev 6529)
@@ -370,11 +370,13 @@
       // If we have done all the ARGV-elements, stop the scan.
 
       if (optind == nargc)
+        {
           // Check if first LIST_ARG with no argument.
           if (list_option_first)
             return  List_No_Value ();
           else
             return EOF;
+        }
 
       if (list_option->valid == 0)
         {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]