From: Maxim Mamontov <faust.madf@gmail.com>
Date: Tue, 7 Feb 2012 10:28:26 +0000 (+0200)
Subject: Unused variables removed in user properties
X-Git-Tag: 2.408~12
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/fe9860ffc1555d5bf5a3f2132d9d073b5da85226?ds=inline

Unused variables removed in user properties
---

diff --git a/include/stg/user_property.h b/include/stg/user_property.h
index bdad48b0..fbd6aa46 100644
--- a/include/stg/user_property.h
+++ b/include/stg/user_property.h
@@ -286,8 +286,6 @@ bool USER_PROPERTY_LOGGED<varT>::Set(const varT & val,
                                      const std::string & msg)
 {
 const PRIV * priv = admin->GetPriv();
-std::string adm_login = admin->GetLogin();
-std::string adm_ip = admin->GetIPStr();
 
 if ((priv->userConf && !isStat) ||
     (priv->userStat && isStat) ||