summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/yescrypt/alg-yescrypt-common.c6
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;
}