1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 09:32:44 +01:00

base64: remove unused calculation in base64_encode

Found via scan-build.
This commit is contained in:
René Kijewski 2015-08-25 00:09:17 +02:00 committed by Oleg Hahm
parent 05eb6e73d9
commit 7af7d37531

View File

@ -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);