about summary refs log tree commit diff stats
path: root/subx/020elf.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-07-25 20:47:41 -0700
committerKartik Agaram <vc@akkartik.com>2018-07-25 20:47:41 -0700
commit1a33d221c1a23c218d3457dfe2a4344c2a33f9a1 (patch)
tree1a1c36fc15a05b88564bed9215e59bcfe267aea9 /subx/020elf.cc
parentd671148d99e35b7643068d3ea59babaf7ce336e8 (diff)
downloadmu-1a33d221c1a23c218d3457dfe2a4344c2a33f9a1.tar.gz
4413
Never mind, let's drop unused/vestigial altogether. Use absence of names
to signal unused arguments.
Diffstat (limited to 'subx/020elf.cc')
-rw-r--r--subx/020elf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/020elf.cc b/subx/020elf.cc
index ca7b2483..dccf889a 100644
--- a/subx/020elf.cc
+++ b/subx/020elf.cc
@@ -119,7 +119,7 @@ inline uint16_t u16_in(uint8_t* p) {
 :(before "End Types")
 struct perr {};
 :(code)
-ostream& operator<<(ostream& os, vestigial perr) {
+ostream& operator<<(ostream& os, perr /*unused*/) {
   if (errno)
     os << ": " << strerror(errno);
   return os;
@@ -128,7 +128,7 @@ ostream& operator<<(ostream& os, vestigial perr) {
 :(before "End Types")
 struct die {};
 :(code)
-ostream& operator<<(vestigial ostream&, vestigial die) {
+ostream& operator<<(ostream& /*unused*/, die /*unused*/) {
   if (Trace_stream) Trace_stream->newline();
   exit(1);
 }