diff options
author | Jfreegman <jfreegman@gmail.com> | 2016-09-07 17:48:01 -0400 |
---|---|---|
committer | Jfreegman <jfreegman@gmail.com> | 2016-09-07 17:48:01 -0400 |
commit | 27a162608469b4dacd251b703ca2b9867bd7c0d3 (patch) | |
tree | 2df2b6ba0497e283ad766229cbf0d1fa03a4e5bb /toxcore/tox.c | |
parent | a35be20e6a0d720b2c7f57d45b0f1092497cddb1 (diff) |
Comment intentional switch fallthroughs
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index 26fa0de4..b155c02f 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -1058,7 +1058,7 @@ bool tox_file_seek(Tox *tox, uint32_t friend_number, uint32_t file_number, uint6 | |||
1058 | SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEEK_NOT_FOUND); | 1058 | SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEEK_NOT_FOUND); |
1059 | return 0; | 1059 | return 0; |
1060 | 1060 | ||
1061 | case -4: | 1061 | case -4: // fall-through |
1062 | case -5: | 1062 | case -5: |
1063 | SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEEK_DENIED); | 1063 | SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEEK_DENIED); |
1064 | return 0; | 1064 | return 0; |