From e16ec2d63a3fc9864ded2e7e703012fcf936931d Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sun, 1 Aug 2010 15:25:04 +0000 Subject: Re #1068 (Misc): fixed compilation warnings with MSVC compiler git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3245 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip-apps/src/samples/httpdemo.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pjsip-apps/src/samples/httpdemo.c b/pjsip-apps/src/samples/httpdemo.c index def97d2b..739dc077 100644 --- a/pjsip-apps/src/samples/httpdemo.c +++ b/pjsip-apps/src/samples/httpdemo.c @@ -45,6 +45,7 @@ static FILE *f = NULL; static void on_response(pj_http_req *http_req, const pj_http_resp *resp) { + PJ_UNUSED_ARG(http_req); PJ_LOG(3,(THIS_FILE, "%.*s %d %.*s", (int)resp->version.slen, resp->version.ptr, resp->status_code, (int)resp->reason.slen, resp->reason.ptr)); @@ -52,7 +53,9 @@ static void on_response(pj_http_req *http_req, const pj_http_resp *resp) static void on_send_data(pj_http_req *http_req, void **data, pj_size_t *size) { - + PJ_UNUSED_ARG(http_req); + PJ_UNUSED_ARG(size); + PJ_UNUSED_ARG(data); } static void on_data_read(pj_http_req *hreq, void *data, pj_size_t size) -- cgit v1.2.3