Commit b62505ad authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Remove extraneous (void) typedefs

See if this resolves rjwboys reported error:
threadwrap.h:204:42: error: expected expression before ‘do’
 #define protected_uint32_init(pval, val) atomic_init(pval, val)
parent 4c280dc6
Pipeline #1453 passed with stage
in 9 minutes and 51 seconds
......@@ -5128,11 +5128,11 @@ void DLLCALL ftp_server(void* arg)
(void)protected_uint32_init(&thread_count, 0);
protected_uint32_init(&thread_count, 0);
do {
listInit(&current_connections, LINK_LIST_MUTEX);
(void)protected_uint32_init(&active_clients, 0);
protected_uint32_init(&active_clients, 0);
/* Setup intelligent defaults */
if(startup->port==0) startup->port=IPPORT_FTP;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment