diff --git a/alsaucm/usecase.c b/alsaucm/usecase.c index 1ed91ea..d39a159 100644 --- a/alsaucm/usecase.c +++ b/alsaucm/usecase.c @@ -130,6 +130,8 @@ static int parse_line(struct context *context, char *line) *line == '\n')) line++; c = *line; + if (c == '\0') + return 0; if (c == '\"' || c == '\'') { start = ++line; while (*line && *line != c)