Mercurial > hg > dmlib
comparison tools/gfxconv.c @ 2448:cd5805f392a9
Remove useless else and block.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 15 Apr 2020 13:29:50 +0300 |
parents | b0f25a42fd23 |
children | ff639208aae6 |
comparison
equal
deleted
inserted
replaced
2447:b0f25a42fd23 | 2448:cd5805f392a9 |
---|---|
569 | 569 |
570 if (*start != 0 && *start != ';') | 570 if (*start != 0 && *start != ';') |
571 { | 571 { |
572 if (!dmParseMapOptionMapItem(line, &values[*nvalue], nmax, "mapping file")) | 572 if (!dmParseMapOptionMapItem(line, &values[*nvalue], nmax, "mapping file")) |
573 goto error; | 573 goto error; |
574 else | 574 |
575 { | 575 (*nvalue)++; |
576 (*nvalue)++; | 576 if (*nvalue >= nmax) |
577 if (*nvalue >= nmax) | 577 { |
578 { | 578 dmErrorMsg("Too many mapping pairs in '%s', maximum is %d.\n", |
579 dmErrorMsg("Too many mapping pairs in '%s', maximum is %d.\n", | 579 filename, nmax); |
580 filename, nmax); | 580 goto error; |
581 goto error; | |
582 } | |
583 } | 581 } |
584 } | 582 } |
585 } | 583 } |
586 | 584 |
587 error: | 585 error: |