ObjFW  Check-in [55f78b1067]

Overview
Comment:Remove a comparison that's always true.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 55f78b1067d321f98a20920b0300bb76ee49e1cf11b981ded9fa184c4843eeaf
User & Date: js on 2012-09-20 00:07:20
Other Links: manifest | tags
Context
2012-09-21
19:40
Fix a warning about an unused variable. check-in: 76852cdf91 user: js tags: trunk
2012-09-20
00:07
Remove a comparison that's always true. check-in: 55f78b1067 user: js tags: trunk
00:06
ObjC 1 fix. check-in: 932eb2bd6f user: js tags: trunk
Changes

Modified src/OFTimer.m from [ae314df2e8] to [f36d27a475].

339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
	otherTimer = (OFTimer*)object_;

	return [fireDate compare: otherTimer->fireDate];
}

- (void)fire
{
	OF_ENSURE(arguments >= 0 && arguments <= 2);

#ifdef OF_HAVE_BLOCKS
	if (block != NULL)
		block(self);
	else {
#endif
		switch (arguments) {







|







339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
	otherTimer = (OFTimer*)object_;

	return [fireDate compare: otherTimer->fireDate];
}

- (void)fire
{
	OF_ENSURE(arguments <= 2);

#ifdef OF_HAVE_BLOCKS
	if (block != NULL)
		block(self);
	else {
#endif
		switch (arguments) {