]> git.stg.codes - stg.git/blobdiff - projects/sgauth/main.cpp
Прибрано "мертвий" код
[stg.git] / projects / sgauth / main.cpp
index 1aae7aa6f6c0aaeddf9a603d073f44aa91e048a4..c7b2bfdcaa49ff53f43a225f2e444f6d4cf56b52 100644 (file)
@@ -105,6 +105,14 @@ private:
 };
 //-----------------------------------------------------------------------------
 SETTINGS::SETTINGS()
+    : port(0),
+      localPort(0),
+      listenWebIP(0),
+      refreshPeriod(0),
+      daemon(false),
+      noWeb(false),
+      reconnect(false),
+      showPid(false)
 {
 confFile = "/etc/sgauth.conf";
 }
@@ -303,12 +311,6 @@ void Usage()
 printf("sgauth <server> <port> <login> <password>\n"); //TODO change to correct
 }
 //-----------------------------------------------------------------------------
-void EventsFn(int)
-{
-LOADSTAT ls;
-clnp->GetStat(&ls);
-}
-//-----------------------------------------------------------------------------
 void SetDirName(const vector<string> & dn, void *)
 {
 for (int j = 0; j < DIR_NUM; j++)