summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-08-31 23:51:39 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-08-31 23:51:39 +0100
commit576f13061595dae46af025b4fce1a9b4ef95d37f (patch)
treef217b4262847523471d050dbe97b9a9ecad0bf03 /toxcore
parent3a9300368d31b0460bd70effd14451303493b109 (diff)
Remove redundant `return` statements.
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/network.c1
-rw-r--r--toxcore/util.c1
2 files changed, 0 insertions, 2 deletions
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
88uint16_t lendian_to_host16(uint16_t lendian) 87uint16_t lendian_to_host16(uint16_t lendian)