Changeset 891 in openpam


Ignore:
Timestamp:
Sep 19, 2016, 10:04:25 AM (4 years ago)
Author:
Dag-Erling Smørgrav
Message:

Spell the GCC pragmas correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/t_openpam_dispatch.c

    r874 r891  
    5656#pragma clang diagnostic ignored "-Wnonnull"
    5757#elif __GNUC__
    58 #pragma gcc diagnostic push
    59 #pragma gcc diagnostic ignored "-Wnonnull"
     58#pragma GCC diagnostic push
     59#pragma GCC diagnostic ignored "-Wnonnull"
    6060#endif
    6161        pam_err = pam_authenticate(NULL, 0);
     
    6363#pragma clang diagnostic pop
    6464#elif __GNUC__
    65 #pragma gcc diagnostic pop
     65#pragma GCC diagnostic pop
    6666#endif
    6767        return (pam_err == PAM_SYSTEM_ERR);
Note: See TracChangeset for help on using the changeset viewer.