From: Gunnar Beutner Date: Wed, 18 Sep 2013 08:43:23 +0000 (+0200) Subject: Fix uninitialized variable. X-Git-Tag: v0.0.3~475 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f176d8f28b925696a187e08bc9b44f4f8086022f;p=icinga2 Fix uninitialized variable. --- 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");