From f390e6e9745ab85a24b8bf1e135fd09cb474c1c4 Mon Sep 17 00:00:00 2001 From: Peter Meerwald Date: Thu, 23 Oct 2014 15:00:29 +0200 Subject: Cleanup !! for bool !!x makes no sense if x is bool (this is a leftover from the convertion pa_bool_t -> bool, d806b197) Signed-off-by: Peter Meerwald --- src/daemon/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/daemon') diff --git a/src/daemon/main.c b/src/daemon/main.c index 4fd245a44..d2a8a8ae8 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -1009,11 +1009,11 @@ int main(int argc, char *argv[]) { c->scache_idle_time = conf->scache_idle_time; c->resample_method = conf->resample_method; c->realtime_priority = conf->realtime_priority; - c->realtime_scheduling = !!conf->realtime_scheduling; - c->disable_remixing = !!conf->disable_remixing; - c->disable_lfe_remixing = !!conf->disable_lfe_remixing; - c->deferred_volume = !!conf->deferred_volume; - c->running_as_daemon = !!conf->daemonize; + c->realtime_scheduling = conf->realtime_scheduling; + c->disable_remixing = conf->disable_remixing; + c->disable_lfe_remixing = conf->disable_lfe_remixing; + c->deferred_volume = conf->deferred_volume; + c->running_as_daemon = conf->daemonize; c->disallow_exit = conf->disallow_exit; c->flat_volumes = conf->flat_volumes; #ifdef HAVE_DBUS @@ -1081,7 +1081,7 @@ int main(int argc, char *argv[]) { /* We completed the initial module loading, so let's disable it * from now on, if requested */ - c->disallow_module_loading = !!conf->disallow_module_loading; + c->disallow_module_loading = conf->disallow_module_loading; #ifdef HAVE_DBUS if (!conf->system_instance) { -- cgit v1.2.3