Navigation



Ignore:
Timestamp:
May 22, 2013, 10:37:48 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Fix a number of issues reported by cppcheck: http://lists.freediameter.net/pipermail/dev/2013-May/000214.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_diameap/diameap_eap.c

    r1075 r1151  
    9292        *vendor = 0;
    9393        *eaptype = TYPE_NONE;
     94        if (eap_sm == NULL)
     95        {
     96                return EINVAL;
     97        }
     98
    9499        eap_sm->selectedMethod = NULL;
    95 
    96         if (eap_sm == NULL)
    97         {
    98                 return EINVAL;
    99         }
    100100
    101101        if (eap_sm->user.userid == NULL)
Note: See TracChangeset for help on using the changeset viewer.