… | |
… | |
372 | |
372 | |
373 | static int |
373 | static int |
374 | match(struct country_search *this_, enum attr_type type, const char *name) |
374 | match(struct country_search *this_, enum attr_type type, const char *name) |
375 | { |
375 | { |
376 | int ret; |
376 | int ret; |
377 | char *s1, *s2; |
377 | char *s1 = NULL; |
|
|
378 | char *s2 = NULL; |
378 | if (!name) |
379 | if (!name) |
379 | return 0; |
380 | return 0; |
380 | if (this_->search.type != type && this_->search.type != attr_country_all) |
381 | if (this_->search.type != type && this_->search.type != attr_country_all) |
381 | return 0; |
382 | return 0; |
382 | s1=linguistics_casefold(this_->search.u.str); |
383 | s1=linguistics_casefold(this_->search.u.str); |