aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/AST/CommentLexer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/CommentLexer.h b/include/clang/AST/CommentLexer.h
index 1ff793701d..f167934b8a 100644
--- a/include/clang/AST/CommentLexer.h
+++ b/include/clang/AST/CommentLexer.h
@@ -509,7 +509,7 @@ public:
} else
Error = true;
}
- char C;
+ char C = '\0';
while (!Error && !isEnd()) {
C = peek();
WordText.push_back(C);