playlist/cue/Parser: remove always-failing assert()
Not the assert() here fails, but the illegal src[-1] call. Yet
another regression from commit 21e4c25e61
This commit is contained in:
parent
d6d0f78e93
commit
ced6a5ae07
|
@ -43,8 +43,6 @@ cue_next_word(std::string_view &src) noexcept
|
||||||
static std::string_view
|
static std::string_view
|
||||||
cue_next_quoted(std::string_view &src) noexcept
|
cue_next_quoted(std::string_view &src) noexcept
|
||||||
{
|
{
|
||||||
assert(src[-1] == '"');
|
|
||||||
|
|
||||||
auto end = src.find('"');
|
auto end = src.find('"');
|
||||||
if (end == src.npos)
|
if (end == src.npos)
|
||||||
/* syntax error - ignore it silently */
|
/* syntax error - ignore it silently */
|
||||||
|
|
Loading…
Reference in New Issue