We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 121b680 commit 8efeff8Copy full SHA for 8efeff8
ClassDumpRuntime/Services/CDUtilities.m
@@ -161,7 +161,10 @@ @implementation CDUtilities
161
162
for (unsigned int classIndex = 0; classIndex < classCount; classIndex++) {
163
Class __unsafe_unretained const cls = classList[classIndex];
164
- [ret addObject:NSStringFromClass(cls)];
+ NSString *className = NSStringFromClass(cls);
165
+ if (className) {
166
+ [ret addObject:className];
167
+ }
168
}
169
free(classList);
170
0 commit comments