diff options
| author | Nguyễn Gia Phong <cnx@loang.net> | 2025-10-24 16:37:19 +0900 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2025-10-24 16:37:19 +0900 |
| commit | d0cba6019caa85d3eef4fb55146230b3d64d31a2 (patch) | |
| tree | 61089cbe020068956edd34927b54b3c82d7c6bd4 /helpers.cc | |
| parent | e65900a9f42cbbfa4f06e5a76505dcfb402b17b6 (diff) | |
| download | taosc-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.cc | 8 |
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); } |
