Skip to content

Commit

Permalink
base64: remove unused calculation in base64_encode
Browse files Browse the repository at this point in the history
Found via scan-build.
  • Loading branch information
Kijewski authored and OlegHahm committed Sep 22, 2015
1 parent 05eb6e7 commit 7af7d37
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sys/base64/base64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7af7d37

Please sign in to comment.