mu-utils: cleanups

Fix some types

Improve error handling

Remove dead/unused code
This commit is contained in:
Dirk-Jan C. Binnema
2026-07-23 17:19:28 +03:00
committed by Seth Ladygo
parent 975dbfa367
commit 1e1311fc39
4 changed files with 32 additions and 89 deletions

View File

@ -148,6 +148,8 @@ test_parse_size()
g_assert_false(!!parse_size("-1", true));
g_assert_false(!!parse_size("scoobydoobydoo", false));
/* overflows int64 -> Nothing rather than a wrapped value */
g_assert_false(!!parse_size("99999999999999999999", false));
}
static void