nixpkgs-suyu/pkgs/development/libraries/zeroc-ice/uninitialized-variable-warning.patch

21 lines
679 B
Diff
Raw Normal View History

diff --git a/test/Glacier2/dynamicFiltering/TestControllerI.h b/test/Glacier2/dynamicFiltering/TestControllerI.h
index 7e21639..1279200 100644
--- a/test/Glacier2/dynamicFiltering/TestControllerI.h
+++ b/test/Glacier2/dynamicFiltering/TestControllerI.h
@@ -21,13 +21,12 @@ struct SessionTuple
{
Glacier2::SessionPrx session;
Glacier2::SessionControlPrx sessionControl;
- bool configured;
+ bool configured = false;
SessionTuple() {}
SessionTuple(Glacier2::SessionPrx s, Glacier2::SessionControlPrx control):
session(s),
- sessionControl(control),
- configured(false)
+ sessionControl(control)
{}
SessionTuple&