Initialize at declaration instead of after

This commit is contained in:
Jordan Cristiano 2015-06-21 03:10:53 -04:00
parent 8b73c4041b
commit 5618e55129

View File

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