]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- catch by reference
authorArvin Schnell <aschnell@suse.de>
Thu, 18 Apr 2013 13:57:14 +0000 (15:57 +0200)
committerArvin Schnell <aschnell@suse.de>
Thu, 18 Apr 2013 13:57:14 +0000 (15:57 +0200)
client/snapper.cc

index f1dcf15f313d1356963e0aef4fae37c81713f45d..6757e3257b524f74ac223eb45cd5f9e1751b2f60 100644 (file)
@@ -1134,7 +1134,7 @@ print_xa_diff(const string loc_pre, const string loc_post)
            xa_mod.dumpDiffReport(cout);
        }
     }
-    catch (XAttributesException xae) {}
+    catch (const XAttributesException& e) {}
 }
 
 void