Fixed late declaration/goto interference. ENGINE-423
authorKrista Bennett <krista@pep-project.org>
Tue, 24 Apr 2018 08:59:21 +0200
branchENGINE-423
changeset 26268f319cd5966c
parent 2625 d7dd538d402b
child 2636 a77adb0d87f6
Fixed late declaration/goto interference.
src/message_api.c
     1.1 --- a/src/message_api.c	Mon Apr 23 16:59:27 2018 +0200
     1.2 +++ b/src/message_api.c	Tue Apr 24 08:59:21 2018 +0200
     1.3 @@ -1528,6 +1528,8 @@
     1.4      message * msg = NULL;
     1.5      stringlist_t * keys = NULL;
     1.6      message* _src = src;
     1.7 +
     1.8 +    bool added_key_to_real_src = false;
     1.9      
    1.10      assert(session);
    1.11      assert(src);
    1.12 @@ -1578,7 +1580,6 @@
    1.13  
    1.14      identity_list * _il;
    1.15  
    1.16 -    bool added_key_to_real_src = false;
    1.17  
    1.18      if (enc_format != PEP_enc_none && (_il = src->bcc) && _il->ident)
    1.19      {