From f176d8f28b925696a187e08bc9b44f4f8086022f Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 18 Sep 2013 10:43:23 +0200 Subject: [PATCH] Fix uninitialized variable. --- components/cluster/clustercomponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cluster/clustercomponent.cpp b/components/cluster/clustercomponent.cpp index e180516a6..50c68e63d 100644 --- a/components/cluster/clustercomponent.cpp +++ b/components/cluster/clustercomponent.cpp @@ -282,7 +282,7 @@ void ClusterComponent::RelayMessage(const Endpoint::Ptr& source, const Dictionar Dictionary::Ptr security = message->Get("security"); DynamicObject::Ptr secobj; - int privs; + int privs = 0; if (security) { String type = security->Get("type"); -- 2.40.0