CoreFW  Check-in [626a89988f]

Overview
Comment:Remove useless if.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 626a89988fb502c3f4ac65f131c053c2dbfbaa1c7b4151d241c21c838676c379
User & Date: js on 2012-04-22 13:19:06
Other Links: manifest | tags
Context
2012-04-22
13:19
Let the iter point to the first object. check-in: d4d333ba7f user: js tags: trunk
13:19
Remove useless if. check-in: 626a89988f user: js tags: trunk
13:18
Don't install tests. check-in: e5f3d00d30 user: js tags: trunk
Changes

Modified tests/tests.c from [a4028e5ce6] to [fcdf694b2d].

39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

	cfw_map_iter(map, &iter);
	cfw_map_iter_next(&iter);

	fputs("{\n", stdout);

	while (iter.key != NULL) {
		if (iter.obj != NULL)
			printf("\t%s = %s\n", cfw_string_c(iter.key),
			    cfw_string_c(iter.obj));
		else
			printf("\t%s = NULL\n", cfw_string_c(iter.key));

		cfw_map_iter_next(&iter);
	}

	fputs("}\n", stdout);
}








<
|
|
<
|







39
40
41
42
43
44
45

46
47

48
49
50
51
52
53
54
55

	cfw_map_iter(map, &iter);
	cfw_map_iter_next(&iter);

	fputs("{\n", stdout);

	while (iter.key != NULL) {

		printf("\t%s = %s\n",
		    cfw_string_c(iter.key),

		    cfw_string_c(iter.obj));

		cfw_map_iter_next(&iter);
	}

	fputs("}\n", stdout);
}