lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master bc4e16e 1/3: Remove a feckless statement


From: Greg Chicares
Subject: [lmi-commits] [lmi] master bc4e16e 1/3: Remove a feckless statement
Date: Sun, 19 Aug 2018 11:09:23 -0400 (EDT)

branch: master
commit bc4e16e10a71188dc28f14c2772432eceb82cb1d
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Remove a feckless statement
    
    Made a value argument const to show that modifying the local copy's
    value immediately before 'return' had no effect.
---
 report_table.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/report_table.cpp b/report_table.cpp
index 0f87a52..a93f430 100644
--- a/report_table.cpp
+++ b/report_table.cpp
@@ -104,7 +104,7 @@ std::vector<int> apportion(std::vector<int> const& votes, 
int total_seats)
 
 void set_column_widths
     (int                             total_width
-    ,int                             column_margin
+    ,int const                       column_margin
     ,std::vector<table_column_info>& all_columns
     )
 //
@@ -213,8 +213,6 @@ void set_column_widths
                         }
                     }
 
-                column_margin -= (overflow_per_column + 1) / 2;
-
                 // We condensed the columns enough to make them fit, so no need
                 // for the warning and we don't have any elastic columns, so
                 // we're done.



reply via email to

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