Skip to content
Snippets Groups Projects
Commit 5893c9ba authored by BytesGalore's avatar BytesGalore Committed by GitHub
Browse files

Merge pull request #5806 from makomi/base64

sys/base64: fix variableScope (cppcheck)
parents 908f5489 1e8d7687
No related branches found
No related tags found
No related merge requests found
...@@ -83,9 +83,9 @@ int base64_encode(unsigned char *data_in, size_t data_in_size, \ ...@@ -83,9 +83,9 @@ int base64_encode(unsigned char *data_in, size_t data_in_size, \
unsigned char nNum = 0; unsigned char nNum = 0;
int nLst = 0; int nLst = 0;
int njump = 0; int njump = 0;
unsigned char tmpval;
for (int i = 0; i < (int)(data_in_size); ++i) { for (int i = 0; i < (int)(data_in_size); ++i) {
unsigned char tmpval;
njump++; njump++;
tmpval = *(data_in + i); tmpval = *(data_in + i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment