ObjFW  Check-in [a7d93acf17]

Overview
Comment:Remove useless variable.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a7d93acf172059610d99e0d2df879d76c4ed77d444b58940006ee860aad8a85a
User & Date: js on 2012-07-07 11:10:38
Other Links: manifest | tags
Context
2012-07-07
11:12
atomic.h: Add missing cast. check-in: 61d0a2e987 user: js tags: trunk
11:10
Remove useless variable. check-in: a7d93acf17 user: js tags: trunk
2012-07-06
15:00
Add -[OFString capitalizedString]. check-in: 9a2430abfc user: js tags: trunk
Changes

Modified src/OFMutableString_UTF8.m from [19cda638bc] to [665667dba6].

54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
	size_t i, j;
	char *newCString;
	BOOL isStart = YES;

	if (!s->UTF8) {
		uint8_t t;
		const of_unichar_t *const *table;
		size_t tableSize;

		assert(startTableSize >= 1 && middleTableSize >= 1);

		s->hashed = NO;

		for (i = 0; i < s->cStringLength; i++) {
			if (isStart) {
				table = startTable;
				tableSize = middleTableSize;
			} else {
				table = middleTable;
				tableSize = middleTableSize;
			}

			switch (s->cString[i]) {
			case ' ':
			case '\t':
			case '\n':
			case '\r':
				isStart = YES;







<






|

<
|

<
<







54
55
56
57
58
59
60

61
62
63
64
65
66
67
68

69
70


71
72
73
74
75
76
77
	size_t i, j;
	char *newCString;
	BOOL isStart = YES;

	if (!s->UTF8) {
		uint8_t t;
		const of_unichar_t *const *table;


		assert(startTableSize >= 1 && middleTableSize >= 1);

		s->hashed = NO;

		for (i = 0; i < s->cStringLength; i++) {
			if (isStart)
				table = startTable;

			else
				table = middleTable;



			switch (s->cString[i]) {
			case ' ':
			case '\t':
			case '\n':
			case '\r':
				isStart = YES;