mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 17:32:44 +01:00
base64: remove unused calculation in base64_encode
Found via scan-build.
This commit is contained in:
parent
05eb6e73d9
commit
7af7d37531
@ -108,10 +108,6 @@ int base64_encode(unsigned char *data_in, size_t data_in_size, \
|
|||||||
/* The last character is not finished yet */
|
/* The last character is not finished yet */
|
||||||
njump++;
|
njump++;
|
||||||
|
|
||||||
if (njump == 4) {
|
|
||||||
nNum = (tmpval >> (2 * njump));
|
|
||||||
}
|
|
||||||
|
|
||||||
nNum = nLst << (8 - 2 * njump);
|
nNum = nLst << (8 - 2 * njump);
|
||||||
base64_out[iterate_base64_buffer++] = getsymbol(nNum);
|
base64_out[iterate_base64_buffer++] = getsymbol(nNum);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user