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