ObjFW  Check-in [d2f5faf5ef]

Overview
Comment:OFSPX*SocketTests: Fix uninitialized variable
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d2f5faf5ef5ab2796bdb19a69c2ccf6c0c0ee9a71b5bc72ec3baa0f17c1a7ab0
User & Date: js on 2022-04-19 16:31:27
Other Links: manifest | tags
Context
2022-04-19
16:44
Don't install a few private-only headers check-in: 2b13a1112a user: js tags: trunk
16:31
OFSPX*SocketTests: Fix uninitialized variable check-in: d2f5faf5ef user: js tags: trunk
16:28
OFCountedMapTableSet: Fix uninitialized variable check-in: 48b0063c3f user: js tags: trunk
Changes

Modified tests/OFSPXSocketTests.m from [61979a2be4] to [3e5f030bd3].

68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
}
@end

@implementation TestsAppDelegate (OFSPXSocketTests)
- (void)SPXSocketTests
{
	void *pool = objc_autoreleasePoolPush();
	OFSPXSocket *sockClient, *sockServer, *sockAccepted;
	OFSocketAddress address1;
	const OFSocketAddress *address2;
	unsigned char node[IPX_NODE_LEN], node2[IPX_NODE_LEN];
	uint32_t network;
	uint16_t port;
	char buffer[5];
	SPXSocketDelegate *delegate;







|







68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
}
@end

@implementation TestsAppDelegate (OFSPXSocketTests)
- (void)SPXSocketTests
{
	void *pool = objc_autoreleasePoolPush();
	OFSPXSocket *sockClient, *sockServer = nil, *sockAccepted;
	OFSocketAddress address1;
	const OFSocketAddress *address2;
	unsigned char node[IPX_NODE_LEN], node2[IPX_NODE_LEN];
	uint32_t network;
	uint16_t port;
	char buffer[5];
	SPXSocketDelegate *delegate;

Modified tests/OFSPXStreamSocketTests.m from [3b74a95f13] to [30183cbd9e].

68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
}
@end

@implementation TestsAppDelegate (OFSPXStreamSocketTests)
- (void)SPXStreamSocketTests
{
	void *pool = objc_autoreleasePoolPush();
	OFSPXStreamSocket *sockClient, *sockServer, *sockAccepted;
	OFSocketAddress address1;
	const OFSocketAddress *address2;
	unsigned char node[IPX_NODE_LEN], node2[IPX_NODE_LEN];
	uint32_t network;
	uint16_t port;
	char buffer[5];
	SPXStreamSocketDelegate *delegate;







|







68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
}
@end

@implementation TestsAppDelegate (OFSPXStreamSocketTests)
- (void)SPXStreamSocketTests
{
	void *pool = objc_autoreleasePoolPush();
	OFSPXStreamSocket *sockClient, *sockServer = nil, *sockAccepted;
	OFSocketAddress address1;
	const OFSocketAddress *address2;
	unsigned char node[IPX_NODE_LEN], node2[IPX_NODE_LEN];
	uint32_t network;
	uint16_t port;
	char buffer[5];
	SPXStreamSocketDelegate *delegate;