Mercurial > hg > freeDiameter
diff libfdcore/config.c @ 1033:000e1904074c
Fix a number of additional warnings
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Tue, 16 Apr 2013 11:45:52 +0800 |
parents | 0117a7746b21 |
children | f4a73a991623 |
line wrap: on
line diff
--- a/libfdcore/config.c Tue Apr 16 11:18:59 2013 +0800 +++ b/libfdcore/config.c Tue Apr 16 11:45:52 2013 +0800 @@ -226,6 +226,7 @@ #endif /* GNUTLS_VERSION_300 */ #ifndef GNUTLS_VERSION_300 +# pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif /* !GNUTLS_VERSION_300 */ /* Parse the configuration file (using the yacc parser) */ @@ -598,7 +599,7 @@ return 0; } #ifndef GNUTLS_VERSION_300 -# pragma GCC diagnostic pop "-Wdeprecated-declarations" +# pragma GCC diagnostic pop #endif /* !GNUTLS_VERSION_300 */