diff options
author | George Joseph <george.joseph@fairview5.com> | 2016-02-01 12:04:06 -0700 |
---|---|---|
committer | George Joseph <george.joseph@fairview5.com> | 2016-02-01 19:22:40 -0600 |
commit | 40da6434c1189e2557d20ea3871761cb34595257 (patch) | |
tree | 5337e33a26badb1830c26153a87186e7d1bcecaa /res/res_pjproject.c | |
parent | 52b29f9b4cd373be7357cd03e01cfeb2d0029140 (diff) |
build_system: Fix some warnings highlighted by clang
Fix some warnings found with clang.
Change-Id: I5195b6189b148c2ee3ed4a19d015a6d4ef3e77bd
Diffstat (limited to 'res/res_pjproject.c')
-rw-r--r-- | res/res_pjproject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_pjproject.c b/res/res_pjproject.c index e9f0d15c4..9e08bf3e0 100644 --- a/res/res_pjproject.c +++ b/res/res_pjproject.c @@ -125,6 +125,7 @@ static void capture_buildopts_cb(int level, const char *data, int len) AST_VECTOR_ADD_SORTED(&buildopts, ast_strdup(ast_skip_blanks(data)), strcmp); } +#pragma GCC diagnostic ignored "-Wformat-nonliteral" int ast_pjproject_get_buildopt(char *option, char *format_string, ...) { int res = 0; @@ -146,6 +147,7 @@ int ast_pjproject_get_buildopt(char *option, char *format_string, ...) return res; } +#pragma GCC diagnostic warning "-Wformat-nonliteral" void ast_pjproject_log_intercept_begin(int fd) { |