summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <lenz@kallisto.local>2004-01-15 13:32:12 +0100
committerunknown <lenz@kallisto.local>2004-01-15 13:32:12 +0100
commit758f4da316eb38b9c80ba34c27f86c04ebf7ad53 (patch)
tree783534b5d92b9bef56cb36f624c3f8ff1832c7ee /mysys
parentd372811cb2375b33aa2e1302604ec1722f7a8e7d (diff)
downloadmariadb-git-758f4da316eb38b9c80ba34c27f86c04ebf7ad53.tar.gz
- no C++ comments in .c files, please...
Diffstat (limited to 'mysys')
-rw-r--r--mysys/default.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys/default.c b/mysys/default.c
index d9099a9e505..81e1fd06374 100644
--- a/mysys/default.c
+++ b/mysys/default.c
@@ -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;