diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-01-25 03:06:09 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-01-25 09:22:19 +0000 |
commit | a640ed106a74347e08c10e62d7ec9eee9e90e43b (patch) | |
tree | a01702ecb07ff1cebd9a914ccbf90dba315d7e99 /toxcore/crypto_core.c | |
parent | 67cf3951633dd4c8444c6460ac94310e382f82f3 (diff) |
Remove dead return statement.
Turning this code:
```c
if (cond) { ... return 0; }
if (!cond) { ... return 0; }
return -1;
```
into:
```c
if (cond) { ... return 0; }
else { ... return 0; }
```
The `return -1` in the first variant can never happen.
Diffstat (limited to 'toxcore/crypto_core.c')
0 files changed, 0 insertions, 0 deletions