toxcore/toxav
iphydf 9a96bb9a5b
Reduce nesting by doing more early returns on error.
This almost entirely avoids any else-after-return in toxcore. One case is
left, and that one is more readable this way.

Why no else after return: https://llvm.org/docs/CodingStandards.html#don-t-use-else-after-a-return
Why exemptions exist: https://blog.mozilla.org/nnethercote/2009/08/31/no-else-after-return-considered-harmful/
2018-07-21 14:22:41 +00:00
..
audio.c Factor out time keeping code into its own module: mono_time.c. 2018-07-09 21:04:50 +00:00
audio.h Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00
BUILD.bazel Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00
bwcontroller.c Factor out time keeping code into its own module: mono_time.c. 2018-07-09 21:04:50 +00:00
bwcontroller.h Improve video key frame sending. 2018-02-11 23:31:46 +00:00
groupav.c Factor out time keeping code into its own module: mono_time.c. 2018-07-09 21:04:50 +00:00
groupav.h Add Logger to various net_crypto functions. 2018-06-24 19:17:32 +00:00
Makefile.inc Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00
msi.c Add Logger to various net_crypto functions. 2018-06-24 19:17:32 +00:00
msi.h Add Logger to various net_crypto functions. 2018-06-24 19:17:32 +00:00
pair.h Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00
ring_buffer_test.cc Add some tests for our ring_buffer implementation. 2018-07-04 10:37:46 +00:00
ring_buffer.c Use nullptr as NULL pointer constant instead of NULL or 0. 2018-01-30 23:35:50 +00:00
ring_buffer.h Add some tests for our ring_buffer implementation. 2018-07-04 10:37:46 +00:00
rtp_test.cc Use clang-format for C++ code. 2018-06-24 20:17:53 +00:00
rtp.c Factor out time keeping code into its own module: mono_time.c. 2018-07-09 21:04:50 +00:00
rtp.h Add Logger to various net_crypto functions. 2018-06-24 19:17:32 +00:00
toxav_old.c make groupnumber uint32_t 2018-02-20 20:58:54 +01:00
toxav.api.h make groupnumber uint32_t 2018-02-20 20:58:54 +01:00
toxav.c Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00
toxav.h make groupnumber uint32_t 2018-02-20 20:58:54 +01:00
video.c Reduce nesting by doing more early returns on error. 2018-07-21 14:22:41 +00:00
video.h Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00