diff options
author | EuAndreh <eu@euandre.org> | 2024-04-06 11:37:04 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-04-06 11:37:04 -0300 |
commit | 3b32f5a1abbec9655a93a184ed0a3c5e6e5134fd (patch) | |
tree | 03969b7b76835f2507ccd1a8aeb057bb1d7f7201 /tests/i18n.c | |
parent | src/: Remove unused "infallible" tag (diff) | |
download | pindaiba-3b32f5a1abbec9655a93a184ed0a3c5e6e5134fd.tar.gz pindaiba-3b32f5a1abbec9655a93a184ed0a3c5e6e5134fd.tar.xz |
Start "rc = -1" instead of 0
Diffstat (limited to 'tests/i18n.c')
-rw-r--r-- | tests/i18n.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/i18n.c b/tests/i18n.c index 60e4620..369a63d 100644 --- a/tests/i18n.c +++ b/tests/i18n.c @@ -8,16 +8,16 @@ int main(void) { - int rc = 0; + int rc = -1; if (getenv("DUMP_TRANSLATABLE_STRINGS")) { if (dump_translatable_strings(MSGS)) { logerr("dump_translatable_strings(MSGS)\n"); - rc = -1; goto out; } } + rc = 0; out: return !!rc; } |