summaryrefslogtreecommitdiff
path: root/objectivec
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-12-19 11:12:20 -0800
committerMark Rowe <mark@vector35.com>2025-12-20 21:34:49 -0800
commited0f3b1b8593f6b76fbb64c53a0885073c1c1979 (patch)
tree5d22d77ccea8bffc0619a32ed886d79d14daccf1 /objectivec
parentba13f6ec7d0ce9a18a03a1c895fb72d18e03014a (diff)
Fix many of the warnings that show up when compiling with GCC 15.2
Diffstat (limited to 'objectivec')
-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)
{