diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-07-07 18:03:10 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-07-07 18:03:10 +0200 |
| commit | e3484095f9fd48d771df4e49db8b6384b5219c21 (patch) | |
| tree | 5b127d6e1be6e08ce7253eacbae983acb2461976 | |
| parent | 5e9b95ff40de7e9b3395e51d456647ae99b2e8b2 (diff) | |
libbb/yescrypt: code shrink
function old new delta
yescrypt_r 1063 1048 -15
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| -rw-r--r-- | libbb/yescrypt/alg-yescrypt-common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/yescrypt/alg-yescrypt-common.c b/libbb/yescrypt/alg-yescrypt-common.c index 262fe82fb..99e8b1277 100644 --- a/libbb/yescrypt/alg-yescrypt-common.c +++ b/libbb/yescrypt/alg-yescrypt-common.c @@ -126,8 +126,8 @@ static const uint8_t *decode64( *dstlen = dstpos; dbg_dec64("dec64: OK, dst[%d]", (int)dstpos); return src; -fail: - *dstlen = 0; + fail: + /* *dstlen = 0; - not needed, caller detects error by seeing NULL */ return NULL; } #else @@ -177,7 +177,7 @@ static const uint8_t *decode64( dbg_dec64("dec64: OK, dst[%d]", (int)dstpos); return src; } -fail: + fail: /* *dstlen = 0; - not needed, caller detects error by seeing NULL */ return NULL; } |
