Differences From Artifact [13185d8fd3]:
- File utils/objfw-new/NewClass.m — part of check-in [64b0f552c1] at 2022-08-07 21:20:26 on branch trunk — objfw-new: Add --superclass (user: js, size: 1637) [annotate] [blame] [check-ins using]
To Artifact [eadf67910a]:
- File
utils/objfw-new/NewClass.m
— part of check-in
[d54804e886]
at
2022-08-07 21:26:57
on branch trunk
— Make GCC happy again
It again fails to determine that code is unreachable and then complains
about it using uninitialized variables. (user: js, size: 1649) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
25 26 27 28 29 30 31 | #import "OFOpenItemFailedException.h" void newClass(OFString *name, OFString *superclass) { OFString *headerPath = [name stringByAppendingPathExtension: @"h"]; OFString *implPath = [name stringByAppendingPathExtension: @"m"]; | | | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #import "OFOpenItemFailedException.h" void newClass(OFString *name, OFString *superclass) { OFString *headerPath = [name stringByAppendingPathExtension: @"h"]; OFString *implPath = [name stringByAppendingPathExtension: @"m"]; OFFile *headerFile = nil, *implFile = nil; @try { headerFile = [OFFile fileWithPath: headerPath mode: @"wx"]; implFile = [OFFile fileWithPath: implPath mode: @"wx"]; } @catch (OFOpenItemFailedException *e) { if (e.errNo != EEXIST) @throw e; |
︙ | ︙ |