Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tools/kconfig2html.c
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,12 @@ static char *read_line(FILE *stream)
g_line[len] = '\0';
}

if (len == 0)
{
g_lnptr = g_line;
return g_line;
}

/* Does this continue on the next line? Note that this check
* could erroneoulsy combine two lines if a comment line ends with
* a line continuation... Don't do that!
Expand Down
Loading