ObjFW  Check-in [edddcf7669]

Overview
Comment:ForwardingTests: Add extra braces around { 0 }

This makes Clang stop complaining.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: edddcf7669e52f84984ed165b43ae75cd04a54a9db3b861eab036fd513a1194d
User & Date: js on 2017-08-19 23:19:22
Other Links: manifest | tags
Context
2017-08-19
23:57
OFSandbox: Use a bitfield instead of many bools check-in: fa0451afdb user: js tags: trunk
23:19
ForwardingTests: Add extra braces around { 0 } check-in: edddcf7669 user: js tags: trunk
22:47
PLATFORMS.md: Add SPARC64/ELF to "Forwarding" check-in: dda7d2ceb2 user: js tags: trunk
Changes

Modified tests/ForwardingTests.m from [ebeac08388] to [ca536d5d0d].

168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
	OF_ENSURE(self == target);

	return 12345678.00006103515625;
}

- (struct stret_test)forwardingTargetStRetTest
{
	struct stret_test ret = { 0 };

	OF_ENSURE(self == target);

	memcpy(ret.s, "abcdefghijklmnopqrstuvwxyz", 27);

	return ret;
}







|







168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
	OF_ENSURE(self == target);

	return 12345678.00006103515625;
}

- (struct stret_test)forwardingTargetStRetTest
{
	struct stret_test ret = { { 0 } };

	OF_ENSURE(self == target);

	memcpy(ret.s, "abcdefghijklmnopqrstuvwxyz", 27);

	return ret;
}