diff options
author | Peter Meerwald <p.meerwald@bct-electronic.com> | 2014-10-23 15:00:29 +0200 |
---|---|---|
committer | Peter Meerwald <p.meerwald@bct-electronic.com> | 2014-10-28 17:36:22 +0100 |
commit | f390e6e9745ab85a24b8bf1e135fd09cb474c1c4 (patch) | |
tree | 77d15c0b104a762c8d2dcba1831482251f0c43d5 /src/daemon | |
parent | 3fb349296ff28a7165d7bcc1a2f759ec26629bd5 (diff) |
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 <pmeerw@pmeerw.net>
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/main.c | 12 |
1 files changed, 6 insertions, 6 deletions
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) { |