1
0
mirror of https://github.com/systemd/systemd.git synced 2025-08-29 01:49:55 +03:00

terminal: silence warning

This commit is contained in:
Thomas Hindoe Paaboel Andersen
2014-07-18 13:32:01 +02:00
parent d243773263
commit 41cb81eab9

View File

@ -206,7 +206,8 @@ const uint32_t *term_utf8_decode(term_utf8 *p, size_t *out_len, char c) {
p->n_bytes = 4;
p->i_bytes = 1;
p->valid = 1;
}
} else
assert_not_reached("Should not happen");
p->chars[0] = byte;
p->ucs4 = t << (6 * (p->n_bytes - p->i_bytes));