ObjFW  Check-in [55c9063260]

Overview
Comment:Get rid of a stupid warning when using (old) GCC.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 55c9063260a9604b5b9a238a7de5a2e9ac6f8cc849521125325d6a826b2f4684
User & Date: js on 2013-12-24 23:23:40
Other Links: manifest | tags
Context
2013-12-25
00:01
Make section .ctors "aw". check-in: 3695e89467 user: js tags: trunk
2013-12-24
23:23
Get rid of a stupid warning when using (old) GCC. check-in: 55c9063260 user: js tags: trunk
00:50
Add forwarding for iOS/ARM64. check-in: 2566c341f3 user: js tags: trunk
Changes

Modified utils/OFZIP.m from [aeca64a644] to [29d52688ca].

157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
	}

	[OFApplication terminateWithStatus: _exitStatus];
}

- (OFZIPArchive*)openArchiveWithPath: (OFString*)path
{
	OFZIPArchive *archive;

	@try {
		archive = [OFZIPArchive archiveWithPath: path];
	} @catch (OFOpenFileFailedException *e) {
		[of_stderr writeFormat: @"Failed to open file %@: %s\n",
					[e path], strerror([e errNo])];
		[OFApplication terminateWithStatus: 1];







|







157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
	}

	[OFApplication terminateWithStatus: _exitStatus];
}

- (OFZIPArchive*)openArchiveWithPath: (OFString*)path
{
	OFZIPArchive *archive = nil;

	@try {
		archive = [OFZIPArchive archiveWithPath: path];
	} @catch (OFOpenFileFailedException *e) {
		[of_stderr writeFormat: @"Failed to open file %@: %s\n",
					[e path], strerror([e errNo])];
		[OFApplication terminateWithStatus: 1];