summaryrefslogtreecommitdiff
path: root/res/res_pjproject.c
diff options
context:
space:
mode:
authorGeorge Joseph <george.joseph@fairview5.com>2016-02-01 12:04:06 -0700
committerGeorge Joseph <george.joseph@fairview5.com>2016-02-01 18:20:05 -0700
commit8804d0973c9144da4b3af863a24a8dfaac22c04e (patch)
tree0662c58f11d7483f7980a116b225c6443c40c639 /res/res_pjproject.c
parent109b0aff6bcd73a634f440b6c8ec84a155e4ba66 (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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_pjproject.c b/res/res_pjproject.c
index 2e092d76e..7bf9003f9 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)
{