Misc (re #1843): Fixed GCC compile warnings of unused variables in third-party libs.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5158 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
f5727fc18c
commit
53f21945a0
|
@ -7,5 +7,10 @@
|
|||
//# pragma warning(disable: 4701) // local variable used without initialized
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 402
|
||||
# pragma GCC diagnostic ignored "-Wunknown-pragmas"
|
||||
# pragma GCC diagnostic ignored "-Wunused-const-variable"
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "../../gsm/inc/config.h"
|
||||
|
|
|
@ -29,6 +29,11 @@
|
|||
//# pragma warning(disable: 4701) // local variable used without initialized
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 402
|
||||
# pragma GCC diagnostic ignored "-Wunknown-pragmas"
|
||||
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
|
||||
#include <pj/log.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
* details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
static char const ident[] = "$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_create.c,v 1.4 1996/07/02 09:59:05 jutta Exp $";
|
||||
|
||||
#include "config.h"
|
||||
|
||||
static char const ident[] = "$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_create.c,v 1.4 1996/07/02 09:59:05 jutta Exp $";
|
||||
|
||||
#ifdef HAS_STRING_H
|
||||
#include <string.h>
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue