lib/fetch: ignore -Wformat-nonliteral with clang.

This commit is contained in:
Juan RP 2013-07-02 08:54:02 +02:00
parent 789c756854
commit 42ba861e21
3 changed files with 12 additions and 0 deletions

View File

@ -69,6 +69,10 @@
#include "fetch.h"
#include "common.h"
#ifdef __clang__
#pragma clang diagnostic ignored "-Wformat-nonliteral"
#endif
/*** Local data **************************************************************/
/*

View File

@ -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

View File

@ -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