diff options
-rw-r--r-- | fzy.c | 10 | ||||
-rw-r--r-- | fzytest.c | 1 |
2 files changed, 5 insertions, 6 deletions
@@ -221,12 +221,12 @@ int main(int argc, char *argv[]) { break; case 'b': if (optarg) { - if (sscanf(optarg, "%d", &benchmark) != 1) { - usage(argv[0]); - exit(EXIT_FAILURE); - } + if (sscanf(optarg, "%d", &benchmark) != 1) { + usage(argv[0]); + exit(EXIT_FAILURE); + } } else { - benchmark = 100; + benchmark = 100; } break; case 't': @@ -108,7 +108,6 @@ void test_positions_5() { assert(positions[2] == 6); } - void test_positions_exact() { size_t positions[3]; match_positions("foo", "foo", positions); |