about summary refs log tree commit diff
path: root/helpers.cc
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2025-10-24 16:37:19 +0900
committerNguyễn Gia Phong <cnx@loang.net>2025-10-24 16:37:19 +0900
commitd0cba6019caa85d3eef4fb55146230b3d64d31a2 (patch)
tree61089cbe020068956edd34927b54b3c82d7c6bd4 /helpers.cc
parente65900a9f42cbbfa4f06e5a76505dcfb402b17b6 (diff)
downloadtaosc-d0cba6019caa85d3eef4fb55146230b3d64d31a2.tar.gz
Be more permissive with binary parsing 0.0.4
Skip instead of committing sudoku
Diffstat (limited to 'helpers.cc')
-rw-r--r--helpers.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/helpers.cc b/helpers.cc
index 7bb1215..0aa2fe9 100644
--- a/helpers.cc
+++ b/helpers.cc
@@ -45,9 +45,15 @@ parse_args (int argc, char const* const* argv)
 }
 
 void
-die_for (Address address, std::string const& message)
+warn (Address address, std::string const& message)
 {
   std::cerr << message << ' ' << std::hex << address << '\n';
+}
+
+[[noreturn]] void
+die_for (Address address, std::string const& message)
+{
+  warn (address, message);
   std::exit (1);
 }