From: Eric Biggers Date: Tue, 18 Dec 2012 16:40:56 +0000 (-0600) Subject: Remove is_daemon field in message handler context X-Git-Tag: v1.2.1~31 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=d86acf5e9930ee5cdf5150f30b51701fc81c2204;ds=sidebyside Remove is_daemon field in message handler context --- diff --git a/src/mount_image.c b/src/mount_image.c index 3f1e9934..e361ddb8 100644 --- a/src/mount_image.c +++ b/src/mount_image.c @@ -1017,7 +1017,6 @@ enum { }; struct msg_handler_context { - bool is_daemon; int timeout_seconds; union { struct { @@ -1464,7 +1463,6 @@ static void wimfs_destroy(void *p) return; struct msg_handler_context handler_ctx = { - .is_daemon = true, .timeout_seconds = 5, .daemon = { .wimfs_ctx = wimfs_ctx, @@ -2523,7 +2521,6 @@ WIMLIBAPI int wimlib_unmount_image(const char *dir, int unmount_flags, goto out_close_message_queues; struct msg_handler_context handler_ctx = { - .is_daemon = false, .timeout_seconds = 5, .unmount = { .daemon_pid = 0,