lib/fetch: ignore -Wformat-nonliteral with clang.
This commit is contained in:
parent
789c756854
commit
42ba861e21
@ -69,6 +69,10 @@
|
|||||||
#include "fetch.h"
|
#include "fetch.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
#pragma clang diagnostic ignored "-Wformat-nonliteral"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*** Local data **************************************************************/
|
/*** Local data **************************************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -93,6 +93,10 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "ftperr.h"
|
#include "ftperr.h"
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
#pragma clang diagnostic ignored "-Wformat-nonliteral"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define FTP_ANONYMOUS_USER "anonymous"
|
#define FTP_ANONYMOUS_USER "anonymous"
|
||||||
|
|
||||||
#define FTP_CONNECTION_ALREADY_OPEN 125
|
#define FTP_CONNECTION_ALREADY_OPEN 125
|
||||||
|
@ -102,6 +102,10 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "httperr.h"
|
#include "httperr.h"
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
#pragma clang diagnostic ignored "-Wformat-nonliteral"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Maximum number of redirects to follow */
|
/* Maximum number of redirects to follow */
|
||||||
#define MAX_REDIRECT 5
|
#define MAX_REDIRECT 5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user