mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Remove redundant return
statements.
This commit is contained in:
parent
3a9300368d
commit
576f130615
|
@ -110,8 +110,6 @@ void print_public_key(const uint8_t *public_key)
|
|||
}
|
||||
|
||||
write_log(LOG_LEVEL_INFO, "Public Key: %s\n", buffer);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
// Demonizes the process, appending PID to the PID file and closing file descriptors based on log backend
|
||||
|
|
|
@ -734,7 +734,6 @@ void kill_networking(Networking_Core *net)
|
|||
}
|
||||
|
||||
free(net);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -82,7 +82,6 @@ void host_to_net(uint8_t *num, uint16_t numbytes)
|
|||
|
||||
memcpy(num, buff, numbytes);
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
uint16_t lendian_to_host16(uint16_t lendian)
|
||||
|
|
Loading…
Reference in New Issue
Block a user