diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-08-31 23:51:39 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-08-31 23:51:39 +0100 |
commit | 576f13061595dae46af025b4fce1a9b4ef95d37f (patch) | |
tree | f217b4262847523471d050dbe97b9a9ecad0bf03 | |
parent | 3a9300368d31b0460bd70effd14451303493b109 (diff) |
Remove redundant `return` statements.
-rw-r--r-- | other/bootstrap_daemon/src/tox-bootstrapd.c | 2 | ||||
-rw-r--r-- | toxcore/network.c | 1 | ||||
-rw-r--r-- | toxcore/util.c | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/other/bootstrap_daemon/src/tox-bootstrapd.c b/other/bootstrap_daemon/src/tox-bootstrapd.c index e1ae7cc6..72d4572c 100644 --- a/other/bootstrap_daemon/src/tox-bootstrapd.c +++ b/other/bootstrap_daemon/src/tox-bootstrapd.c | |||
@@ -110,8 +110,6 @@ void print_public_key(const uint8_t *public_key) | |||
110 | } | 110 | } |
111 | 111 | ||
112 | write_log(LOG_LEVEL_INFO, "Public Key: %s\n", buffer); | 112 | write_log(LOG_LEVEL_INFO, "Public Key: %s\n", buffer); |
113 | |||
114 | return; | ||
115 | } | 113 | } |
116 | 114 | ||
117 | // Demonizes the process, appending PID to the PID file and closing file descriptors based on log backend | 115 | // Demonizes the process, appending PID to the PID file and closing file descriptors based on log backend |
diff --git a/toxcore/network.c b/toxcore/network.c index 62bedede..fb491f4b 100644 --- a/toxcore/network.c +++ b/toxcore/network.c | |||
@@ -734,7 +734,6 @@ void kill_networking(Networking_Core *net) | |||
734 | } | 734 | } |
735 | 735 | ||
736 | free(net); | 736 | free(net); |
737 | return; | ||
738 | } | 737 | } |
739 | 738 | ||
740 | 739 | ||
diff --git a/toxcore/util.c b/toxcore/util.c index efb35ef2..285bba9b 100644 --- a/toxcore/util.c +++ b/toxcore/util.c | |||
@@ -82,7 +82,6 @@ void host_to_net(uint8_t *num, uint16_t numbytes) | |||
82 | 82 | ||
83 | memcpy(num, buff, numbytes); | 83 | memcpy(num, buff, numbytes); |
84 | #endif | 84 | #endif |
85 | return; | ||
86 | } | 85 | } |
87 | 86 | ||
88 | uint16_t lendian_to_host16(uint16_t lendian) | 87 | uint16_t lendian_to_host16(uint16_t lendian) |