Initialize at declaration instead of after
This commit is contained in:
parent
8b73c4041b
commit
5618e55129
4
external/libb64-1.2.1/src/cencode.c
vendored
4
external/libb64-1.2.1/src/cencode.c
vendored
@ -43,11 +43,9 @@ int base64_encode_block(const char* plaintext_in, int length_in, char* code_out,
|
|||||||
const char* plainchar = plaintext_in;
|
const char* plainchar = plaintext_in;
|
||||||
const char* const plaintextend = plaintext_in + length_in;
|
const char* const plaintextend = plaintext_in + length_in;
|
||||||
char* codechar = code_out;
|
char* codechar = code_out;
|
||||||
char result;
|
char result = state_in->result;
|
||||||
char fragment;
|
char fragment;
|
||||||
|
|
||||||
result = state_in->result;
|
|
||||||
|
|
||||||
switch (state_in->step)
|
switch (state_in->step)
|
||||||
{
|
{
|
||||||
while (1)
|
while (1)
|
||||||
|
Loading…
Reference in New Issue
Block a user