1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2025-04-14 17:33:17 -04:00

fix(cairo): Silence possibly uninitialized variable warning.

This commit is contained in:
Chase Geigle 2018-09-01 00:04:30 -05:00
parent 7b042a6466
commit 15e444abe7
No known key found for this signature in database
GPG key ID: 1020EF3A7626F7DC

View file

@ -158,7 +158,7 @@ namespace cairo {
while (!chars.empty()) {
auto remaining = chars.size();
for (auto&& f : fns) {
unsigned int matches;
unsigned int matches = 0;
// Match as many glyphs as possible if the default/preferred font
// is being tested. Otherwise test one glyph at a time against