| 2679 | } |
| 2680 | |
| 2681 | static void DoWarning(const bilingual_str& warning) |
| 2682 | { |
| 2683 | static bool fWarned = false; |
| 2684 | SetMiscWarning(warning); |
| 2685 | if (!fWarned) { |
| 2686 | AlertNotify(warning.original); |
| 2687 | fWarned = true; |
| 2688 | } |
| 2689 | } |
| 2690 | |
| 2691 | /** Private helper function that concatenates warning messages. */ |
| 2692 | static void AppendWarning(bilingual_str& res, const bilingual_str& warn) |
no test coverage detected