]> git.stg.codes - stg.git/blobdiff - include/stg/user_property.h
Fixed compilation with linux-3.5.1 and higher.
[stg.git] / include / stg / user_property.h
index bdad48b0883ddc994bd80ccce428d6d011c47bfc..fbd6aa4668ed2d351bfc6615badfeff3190aefdb 100644 (file)
@@ -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) ||