lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [6582] Suppress a clang warning


From: gchicares
Subject: [lmi-commits] [6582] Suppress a clang warning
Date: Thu, 12 May 2016 00:50:23 +0000 (UTC)

Revision: 6582
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6582
Author:   chicares
Date:     2016-05-12 00:50:23 +0000 (Thu, 12 May 2016)
Log Message:
-----------
Suppress a clang warning

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/progress_meter.hpp

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2016-05-11 23:55:37 UTC (rev 6581)
+++ lmi/trunk/ChangeLog 2016-05-12 00:50:23 UTC (rev 6582)
@@ -39095,3 +39095,8 @@
   skeleton.cpp
 Trim pasted strings.
 
+20160512T0050Z <address@hidden> [451]
+
+  progress_meter.hpp
+Suppress a clang warning.
+

Modified: lmi/trunk/progress_meter.hpp
===================================================================
--- lmi/trunk/progress_meter.hpp        2016-05-11 23:55:37 UTC (rev 6581)
+++ lmi/trunk/progress_meter.hpp        2016-05-12 00:50:23 UTC (rev 6582)
@@ -228,6 +228,12 @@
     int count() const;
     int max_count() const;
 
+    // This accessor is not actually used today; it serves only to
+    // prevent Clang from complaining that the member it accesses is
+    // otherwise unused. See:
+    //   http://lists.nongnu.org/archive/html/lmi/2016-03/msg00035.html
+    enum_display_mode display_mode() const {return display_mode_;}
+
     virtual void        do_dawdle            (int seconds);
     virtual std::string progress_message     () const = 0;
     virtual bool        show_progress_message()       = 0;




reply via email to

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