aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/c/request.c
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2017-05-02 13:15:51 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2017-08-07 17:45:43 -0400
commit5953eed7dc5c9f70940000c40c6ff5237a3b1808 (patch)
treed687714499cae27936303f8430d9e75b66cc24d9 /src/c/request.c
parent53dbce6998e78ddcb05693c7efdca101075941b0 (diff)
Enable -Wunused-parameter
Diffstat (limited to 'src/c/request.c')
-rw-r--r--src/c/request.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c/request.c b/src/c/request.c
index a7f23851..3e7ac34c 100644
--- a/src/c/request.c
+++ b/src/c/request.c
@@ -78,6 +78,8 @@ uw_context uw_request_new_context(int id, uw_app *app, uw_loggers *ls) {
}
static void *ticker(void *data) {
+ (void)data;
+
while (1) {
usleep(100000);
++uw_time;
@@ -133,6 +135,8 @@ static unsigned long long stackSize;
int pthread_create_big(pthread_t *outThread, void *foo, void *threadFunc, void *arg)
{
+ (void)foo;
+
if (stackSize > 0) {
int err;
pthread_attr_t stackSizeAttribute;