mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-22 21:46:15 +02:00
Tidy up code
This commit is contained in:
parent
f5d4fcaf43
commit
7597f15d24
22 changed files with 74 additions and 85 deletions
|
@ -122,7 +122,7 @@ int main(int argc, char** argv)
|
|||
int exitcode = EXIT_SUCCESS;
|
||||
try
|
||||
{
|
||||
string meta_script("");
|
||||
string meta_script;
|
||||
ClientSettings settings;
|
||||
string pcm_device(player::DEFAULT_DEVICE);
|
||||
|
||||
|
@ -309,8 +309,8 @@ int main(int argc, char** argv)
|
|||
string pidFile = "/var/run/snapclient/pid";
|
||||
if (settings.instance != 1)
|
||||
pidFile += "." + cpt::to_string(settings.instance);
|
||||
string user = "";
|
||||
string group = "";
|
||||
string user;
|
||||
string group;
|
||||
|
||||
if (userValue->is_set())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue