ObjFW  Check-in [cac74a9513]

Overview
Comment:Fix unused variable warning with --disable-files
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: cac74a9513d6cde542fff04518bde93ee587e769f28df16137c7d106e7fa45fd
User & Date: js on 2014-04-14 09:37:01
Other Links: manifest | tags
Context
2014-04-14
11:17
configure: Move --with-wii after AC_PROG_OBJC check-in: 3bda05c293 user: js tags: trunk
09:37
Fix unused variable warning with --disable-files check-in: cac74a9513 user: js tags: trunk
01:11
OFString+XMLUnescaping.m: Remove code duplication check-in: f0cc196adc user: js tags: trunk
Changes

Modified src/OFDataArray.m from [48e3ed07c1] to [138d34be0b].

194
195
196
197
198
199
200

201

202
203
204
205
206
207
208
209
210
#ifdef OF_HAVE_SOCKETS
	OFHTTPClient *client;
	OFHTTPRequest *request;
	OFHTTPResponse *response;
	OFDictionary *headers;
	OFString *contentLength;
#endif

	Class c;


	c = [self class];
	[self release];

	pool = objc_autoreleasePoolPush();

	if ([[URL scheme] isEqual: @"file"]) {
#ifdef OF_HAVE_FILES
		self = [[c alloc] initWithContentsOfFile: [URL path]];







>
|
>

<







194
195
196
197
198
199
200
201
202
203
204

205
206
207
208
209
210
211
#ifdef OF_HAVE_SOCKETS
	OFHTTPClient *client;
	OFHTTPRequest *request;
	OFHTTPResponse *response;
	OFDictionary *headers;
	OFString *contentLength;
#endif
#ifdef OF_HAVE_FILES
	Class c = [self class];
#endif


	[self release];

	pool = objc_autoreleasePoolPush();

	if ([[URL scheme] isEqual: @"file"]) {
#ifdef OF_HAVE_FILES
		self = [[c alloc] initWithContentsOfFile: [URL path]];

Modified src/OFString.m from [3cae95280a] to [9584b4567b].

880
881
882
883
884
885
886

887

888
889
890
891
892
893
894
895
896
	OFHTTPClient *client;
	OFHTTPRequest *request;
	OFHTTPResponse *response;
	OFDictionary *headers;
	OFString *contentType, *contentLength;
	OFDataArray *data;
#endif

	Class c;


	c = [self class];
	[self release];

	pool = objc_autoreleasePoolPush();

	if ([[URL scheme] isEqual: @"file"]) {
#ifdef OF_HAVE_FILES
		if (encoding == OF_STRING_ENCODING_AUTODETECT)







>
|
>

<







880
881
882
883
884
885
886
887
888
889
890

891
892
893
894
895
896
897
	OFHTTPClient *client;
	OFHTTPRequest *request;
	OFHTTPResponse *response;
	OFDictionary *headers;
	OFString *contentType, *contentLength;
	OFDataArray *data;
#endif
#ifdef OF_HAVE_FILES
	Class c = [self class];
#endif


	[self release];

	pool = objc_autoreleasePoolPush();

	if ([[URL scheme] isEqual: @"file"]) {
#ifdef OF_HAVE_FILES
		if (encoding == OF_STRING_ENCODING_AUTODETECT)