aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/error.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-04-06 13:02:26 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-04-08 11:31:51 +0200
commit168ef9f3ab73ac8ea2d8263304fd6df29a76e0e0 (patch)
tree2bc19782fee2bc5d3bd7c835337ff19c558aab79 /src/libutil/error.cc
parent8b1e328d5d0ae7d3a4a8f6012ec065b59674ed4a (diff)
Remove unused Error.name field
Diffstat (limited to 'src/libutil/error.cc')
-rw-r--r--src/libutil/error.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libutil/error.cc b/src/libutil/error.cc
index 02bc5caa5..9172f67a6 100644
--- a/src/libutil/error.cc
+++ b/src/libutil/error.cc
@@ -21,12 +21,9 @@ const std::string & BaseError::calcWhat() const
if (what_.has_value())
return *what_;
else {
- err.name = sname();
-
std::ostringstream oss;
showErrorInfo(oss, err, loggerSettings.showTrace);
what_ = oss.str();
-
return *what_;
}
}