[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 2025958 06/33: Names are stronger than commen
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 2025958 06/33: Names are stronger than comments |
Date: |
Mon, 3 May 2021 08:15:51 -0400 (EDT) |
branch: master
commit 2025958ba8014aa20138369017b957a55fb8d37c
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Names are stronger than comments
---
rate_table.cpp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/rate_table.cpp b/rate_table.cpp
index 57db9de..684dfcf 100644
--- a/rate_table.cpp
+++ b/rate_table.cpp
@@ -194,9 +194,8 @@ inline bool stream_read(std::istream& is, void* data,
std::size_t length)
// propagate.
void remove_nothrow(fs::path const& path)
{
- std::error_code ec;
- fs::remove(path, ec);
- // Intentionally ignore the error code value.
+ std::error_code deliberately_ignored;
+ fs::remove(path, deliberately_ignored);
}
// Helper function wrapping std::strtoull() and hiding its peculiarities:
- [lmi-commits] [lmi] master updated (a5afa42 -> 0296ac4), Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master c8143ad 02/33: Include "path.hpp" even if it might not be needed today, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 1ac62bc 13/33: Rewrite a unit test, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master cff71ea 11/33: Improve documentation, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master f767cd4 17/33: Fix defect introduced 20190527T1635Z: erroneous documentation, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 325e88a 12/33: Increase filename portability, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 271a1b8 09/33: Note a deferred boost-migration question, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 2025958 06/33: Names are stronger than comments,
Greg Chicares <=
- [lmi-commits] [lmi] master bb267b7 18/33: Reinstate some recently-removed documentation, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 6d7a545 26/33: Reinsert a required empty line, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master ea4515f 04/33: Further deboostify, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 4faab10 01/33: Adjust whitespace for microconcinnity, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master f4f4756 05/33: Resolve a marked defect [283], Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master c98c00d 10/33: Say "basename" rather than "leaf", Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master 1a68606 23/33: Conserve 80-character maximum width, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master e33e392 22/33: Correct and reformat the modify_directory() documentation, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master fd44389 03/33: Include appropriate headers, and say why they're included, Greg Chicares, 2021/05/03
- [lmi-commits] [lmi] master fdc0f5a 07/33: Deboostify even more, Greg Chicares, 2021/05/03