summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2010-08-01 15:25:04 +0000
committerBenny Prijono <bennylp@teluu.com>2010-08-01 15:25:04 +0000
commite16ec2d63a3fc9864ded2e7e703012fcf936931d (patch)
treebc554b86ee4729ca2296e02dd1ad7c6c8824405a
parent834419fc0d996481293a623b417fb58f0e0a551c (diff)
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
-rw-r--r--pjsip-apps/src/samples/httpdemo.c5
1 files changed, 4 insertions, 1 deletions
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)