[hackers] [libgrapheme] Remove redundant initialization || Laslo Hunhold
commit 64c136162a2830374522b993df86d8a0a852422a
Author: Laslo Hunhold <dev_AT_frign.de>
AuthorDate: Sun Nov 13 09:41:03 2022 +0100
Commit: Laslo Hunhold <dev_AT_frign.de>
CommitDate: Sun Nov 13 09:41:03 2022 +0100
Remove redundant initialization
Signed-off-by: Laslo Hunhold <dev_AT_frign.de>
diff --git a/test/bidirectional.c b/test/bidirectional.c
index bec1958..0593a5b 100644
--- a/test/bidirectional.c
+++ b/test/bidirectional.c
_AT_@ -27,7 +27,7 @@ main(int argc, char *argv[])
/*if (i != 490798)
continue;*/
- for (m = 0, ret = 0; m < bidirectional_test[i].modelen; m++) {
+ for (m = 0; m < bidirectional_test[i].modelen; m++) {
ret = grapheme_get_bidirectional_embedding_levels(
bidirectional_test[i].cp, bidirectional_test[i].cplen,
bidirectional_test[i].mode[m], lev, levlen);
Received on Sun Nov 13 2022 - 09:41:15 CET
This archive was generated by hypermail 2.3.0
: Sun Nov 13 2022 - 09:48:30 CET