{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1766021336,
"reponame":"libwebsockets",
"desc":"libwebsockets lightweight C networking library",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets",
"f":3,
"items": [
{"schema":"libjg2-1",
"cid":"3289637449c83d435e09b6362308c9b2",
"commit": {"type":"commit",
"time": 1500408717,
"time_ofs": 480,
"oid_tree": { "oid": "a0d4b5fa435bc5069c81b11dd22fc00df56072c0", "alias": []},
"oid":{ "oid": "61cc61817ef8828cb95cebb4adeefbba00ed6f7c", "alias": []},
"msg": "Subject: Eliminated 'unused variable' compiler warning generated with -DLWS_WITH_NO_LOGS\u003d",
"sig_commit": { "git_time": { "time": 1500408717, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1500264960, "offset": 0 }, "name": "Jesse Engle", "email": "jesse.engle@threatstack.com", "md5": "22f898d8c04f0a530f7f89b956f58785" }},
"body": "Subject: Eliminated 'unused variable' compiler warning generated with -DLWS_WITH_NO_LOGS\u003dON.\n\nThe unused variable was only declared for use in a log macro that's\ncompiled out with the above compiler switch. I removed the declaration\nand casted the variable at each use in the block.\n\nAG: convert to void case reference irrespective of logging enabled.\nAG: travis.yml: add -DLWS_WITH_NO_LOGS\u003dON that also enables lwsws + cgi code"
,
"diff": "diff --git a/.travis.yml b/.travis.yml\nindex 0bc3c12..55cb766 100644\n--- a/.travis.yml\n+++ b/.travis.yml\n@@ -15,6 +15,7 @@ env:\n - LWS_METHOD\u003dnossl CMAKE_ARGS\u003d\u0022-DLWS_WITH_SSL\u003dOFF\u0022\n - LWS_METHOD\u003dnodaemon CMAKE_ARGS\u003d\u0022-DLWS_WITHOUT_DAEMONIZE\u003dON\u0022\n - LWS_METHOD\u003dcgi CMAKE_ARGS\u003d\u0022-DLWS_WITH_CGI\u003dON\u0022\n+ - LWS_METHOD\u003dnologs CMAKE_ARGS\u003d\u0022-DLWS_WITH_NO_LOGS\u003dON\u0022\n \n os:\n - linux\ndiff --git a/lib/context.c b/lib/context.c\nindex 666f51e..f3b56ce 100644\n--- a/lib/context.c\n+++ b/lib/context.c\n@@ -386,6 +386,7 @@ lws_callback_http_dummy(struct lws *wsi, enum lws_callback_reasons reason,\n \t\t{\n \t\t\tstruct lws_ssl_info *si \u003d in;\n \n+\t\t\t(void)si;\n \t\t\tlwsl_notice(\u0022LWS_CALLBACK_SSL_INFO: where: 0x%x, ret: 0x%x\u005cn\u0022,\n \t\t\t\t\tsi-\u003ewhere, si-\u003eret);\n \t\t}\n","s":{"c":1766021336,"u": 1434}}
],"g": 2863,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}