fix 3 compiler warings at once. :-)
authorRoker <roker@pep-project.org>
Mon, 12 Feb 2018 08:36:07 +0100
changeset 2497b3d58a60b753
parent 2496 389abc0e9b54
child 2498 35f675338705
fix 3 compiler warings at once. :-)
src/keymanagement.c
     1.1 --- a/src/keymanagement.c	Mon Feb 12 01:52:57 2018 +0100
     1.2 +++ b/src/keymanagement.c	Mon Feb 12 08:36:07 2018 +0100
     1.3 @@ -1279,13 +1279,14 @@
     1.4      // for setting up a temp trusted identity for the input fpr
     1.5      pEp_identity* tmp_id = NULL;
     1.6  
     1.7 +    // For later, in case we need to check the user default key
     1.8 +    pEp_identity* tmp_user_ident = NULL;
     1.9 +
    1.10      if (me) {
    1.11          status = myself(session, ident_copy); 
    1.12          goto pep_free;
    1.13      }
    1.14      
    1.15 -    // For later, in case we need to check the user default key
    1.16 -    pEp_identity* tmp_user_ident = NULL;
    1.17      
    1.18      // Save the input fpr
    1.19      cached_fpr = strdup(ident->fpr);