From: Arvin Schnell Date: Fri, 28 Aug 2020 10:49:25 +0000 (+0200) Subject: - coding style X-Git-Tag: v0.8.14~32^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c817d3684595008389bccf55b344d232a5f3d2cf;p=thirdparty%2Fsnapper.git - coding style --- diff --git a/client/mksubvolume.cc b/client/mksubvolume.cc index 7b706435..792ee751 100644 --- a/client/mksubvolume.cc +++ b/client/mksubvolume.cc @@ -555,9 +555,9 @@ main(int argc, char** argv) } catch (const OptionsException& e) { - SN_CAUGHT(e); - cerr << e.what() << endl; - usage(); + SN_CAUGHT(e); + cerr << e.what() << endl; + usage(); } try diff --git a/client/proxy-lib.cc b/client/proxy-lib.cc index aa8157ed..11f9cee0 100644 --- a/client/proxy-lib.cc +++ b/client/proxy-lib.cc @@ -144,7 +144,7 @@ ProxySnapperLib::deleteSnapshots(vector snapshots, boo ProxySnapshots& proxy_snapshots = getSnapshots(); for (ProxySnapshots::iterator& proxy_snapshot : snapshots) - proxy_snapshots.erase(proxy_snapshot); + proxy_snapshots.erase(proxy_snapshot); } diff --git a/client/systemd-helper.cc b/client/systemd-helper.cc index c34f28e4..b01b0c18 100644 --- a/client/systemd-helper.cc +++ b/client/systemd-helper.cc @@ -185,9 +185,9 @@ main(int argc, char** argv) } catch (const OptionsException& e) { - SN_CAUGHT(e); - cerr << e.what() << endl; - exit(EXIT_FAILURE); + SN_CAUGHT(e); + cerr << e.what() << endl; + exit(EXIT_FAILURE); } bool ok = true;