Skip to content
Snippets Groups Projects
Commit b62505ad authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
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
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1453 passed
...@@ -5128,11 +5128,11 @@ void DLLCALL ftp_server(void* arg) ...@@ -5128,11 +5128,11 @@ void DLLCALL ftp_server(void* arg)
startup->recycle_now=FALSE; startup->recycle_now=FALSE;
startup->shutdown_now=FALSE; startup->shutdown_now=FALSE;
terminate_server=FALSE; terminate_server=FALSE;
(void)protected_uint32_init(&thread_count, 0); protected_uint32_init(&thread_count, 0);
do { do {
listInit(&current_connections, LINK_LIST_MUTEX); listInit(&current_connections, LINK_LIST_MUTEX);
(void)protected_uint32_init(&active_clients, 0); protected_uint32_init(&active_clients, 0);
/* Setup intelligent defaults */ /* Setup intelligent defaults */
if(startup->port==0) startup->port=IPPORT_FTP; if(startup->port==0) startup->port=IPPORT_FTP;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment