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

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