mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
- no C++ comments in .c files, please...
This commit is contained in:
parent
d372811cb2
commit
758f4da316
1 changed files with 2 additions and 1 deletions
|
@ -461,7 +461,8 @@ static char *remove_end_comment(char *ptr)
|
|||
else if (quote == *ptr)
|
||||
quote= 0;
|
||||
}
|
||||
if (!quote && (*ptr == '#' || *ptr == ';')) // We are not inside a comment
|
||||
/* We are not inside a comment */
|
||||
if (!quote && (*ptr == '#' || *ptr == ';'))
|
||||
{
|
||||
*ptr= 0;
|
||||
return ptr;
|
||||
|
|
Loading…
Reference in a new issue