]> git.stg.codes - stg.git/commitdiff
Unused variables removed in user properties
authorMaxim Mamontov <faust.madf@gmail.com>
Tue, 7 Feb 2012 10:28:26 +0000 (12:28 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Tue, 7 Feb 2012 10:28:26 +0000 (12:28 +0200)
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) ||