mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:32:46 +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 */
|
||||
njump++;
|
||||
|
||||
if (njump == 4) {
|
||||
nNum = (tmpval >> (2 * njump));
|
||||
}
|
||||
|
||||
nNum = nLst << (8 - 2 * njump);
|
||||
base64_out[iterate_base64_buffer++] = getsymbol(nNum);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user