summaryrefslogtreecommitdiff
path: root/objectivec/objc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'objectivec/objc.cpp')
-rw-r--r--objectivec/objc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/objectivec/objc.cpp b/objectivec/objc.cpp
index 170cd78a..2a9a9439 100644
--- a/objectivec/objc.cpp
+++ b/objectivec/objc.cpp
@@ -218,7 +218,7 @@ std::vector<QualifiedNameOrType> ObjCProcessor::ParseEncodedType(const std::stri
std::string namedType;
int readingStructDepth = 0;
std::string structType;
- char last;
+ char last = 0;
for (char c : encodedType)
{