summaryrefslogtreecommitdiff
path: root/src/c/http.c
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2018-06-17 09:12:52 -0400
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2018-06-17 09:12:52 -0400
commit095c2640aa2070ed4e2765875238d5e6e6673856 (patch)
tree9306beb3fef29a99d9436dc00e2d8c57fb3e0c7b /src/c/http.c
parent8c58ba2e1db6e97ca1f18fd9ca52ffead53e4a4f (diff)
parent34eb9eba9a724433f9c37c39cf43e9e10cf55220 (diff)
Merge branch 'upstream' into dfsg_clean20180616+dfsg
Diffstat (limited to 'src/c/http.c')
-rw-r--r--src/c/http.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/c/http.c b/src/c/http.c
index 21ad809f..72685508 100644
--- a/src/c/http.c
+++ b/src/c/http.c
@@ -46,6 +46,7 @@ static char *get_header(void *data, const char *h) {
}
static char *get_env(void *data, const char *name) {
+ (void)data;
return getenv(name);
}
@@ -58,6 +59,8 @@ static void on_failure(uw_context ctx) {
}
static void log_error(void *data, const char *fmt, ...) {
+ (void)data;
+
va_list ap;
va_start(ap, fmt);
@@ -65,6 +68,8 @@ static void log_error(void *data, const char *fmt, ...) {
}
static void log_debug(void *data, const char *fmt, ...) {
+ (void)data;
+
if (!quiet) {
va_list ap;
va_start(ap, fmt);
@@ -332,6 +337,7 @@ static void help(char *cmd) {
}
static void sigint(int signum) {
+ (void)signum;
printf("Exiting....\n");
exit(0);
}
@@ -542,12 +548,17 @@ void *uw_init_client_data() {
}
void uw_free_client_data(void *data) {
+ (void)data;
}
void uw_copy_client_data(void *dst, void *src) {
+ (void)dst;
+ (void)src;
}
void uw_do_expunge(uw_context ctx, uw_Basis_client cli, void *data) {
+ (void)data;
+
uw_ensure_transaction(ctx);
uw_get_app(ctx)->expunger(ctx, cli);
@@ -556,6 +567,8 @@ void uw_do_expunge(uw_context ctx, uw_Basis_client cli, void *data) {
}
void uw_post_expunge(uw_context ctx, void *data) {
+ (void)ctx;
+ (void)data;
}
int uw_supports_direct_status = 1;