aboutsummaryrefslogtreecommitdiff
path: root/src/core/transform.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-07-28 13:52:00 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-07-28 13:52:00 +0200
commit7f24b27652ee6fa84e38f181cea57f319af0c204 (patch)
tree269b15baf20c2ae4ed3bb1fdb052340311aa1981 /src/core/transform.h
parent9b248f3b46d5dc0e9522ed264ef71e422a5bc5a5 (diff)
downloadnissy-core-7f24b27652ee6fa84e38f181cea57f319af0c204.tar.gz
nissy-core-7f24b27652ee6fa84e38f181cea57f319af0c204.zip
Make failed assert exit immediately
Diffstat (limited to 'src/core/transform.h')
-rw-r--r--src/core/transform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transform.h b/src/core/transform.h
index d1d2931..91d4893 100644
--- a/src/core/transform.h
+++ b/src/core/transform.h
@@ -371,7 +371,7 @@ applytrans(oriented_cube_t cube, const char *buf)
371{ 371{
372 uint8_t t; 372 uint8_t t;
373 373
374 DBG_ASSERT(isconsistent(cube), ZERO_ORIENTED_CUBE, 374 DBG_ASSERT(isconsistent(cube),
375 "transformation error: inconsistent cube\n"); 375 "transformation error: inconsistent cube\n");
376 376
377 t = readtrans(buf); 377 t = readtrans(buf);

Generated with cgit - Back to sebastiano.tronto.net