diff options
author | George Hazan <george.hazan@gmail.com> | 2015-03-21 12:27:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-03-21 12:27:08 +0000 |
commit | b0103183841bcbfe1b099bc0a277b3283c6d2900 (patch) | |
tree | 53ca4548ada269409356405bfb9fa432af764fa4 /plugins | |
parent | 5dd5ae021d21b5e630d0f2f9865261c0bc559430 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@12464 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/SeenPlugin/src/file.cpp | 2 | ||||
-rw-r--r-- | plugins/SeenPlugin/src/seen.h | 1 | ||||
-rw-r--r-- | plugins/SeenPlugin/src/utils.cpp | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SeenPlugin/src/file.cpp b/plugins/SeenPlugin/src/file.cpp index 91572bcb96..0721abf96f 100644 --- a/plugins/SeenPlugin/src/file.cpp +++ b/plugins/SeenPlugin/src/file.cpp @@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "seen.h"
BOOL g_bFileActive;
-TCHAR *g_ptszFileStamp, *g_ptszFileName;
+static TCHAR *g_ptszFileStamp, *g_ptszFileName;
/////////////////////////////////////////////////////////////////////////////////////////
// Prepares the log file:
diff --git a/plugins/SeenPlugin/src/seen.h b/plugins/SeenPlugin/src/seen.h index 59090eae93..a6597936fb 100644 --- a/plugins/SeenPlugin/src/seen.h +++ b/plugins/SeenPlugin/src/seen.h @@ -127,7 +127,6 @@ extern HGENMENU hmenuitem; extern DWORD dwmirver;
extern BOOL g_bFileActive;
-extern TCHAR *g_ptszFileStamp, *g_ptszFileName;
void LoadWatchedProtos();
void UnloadWatchedProtos();
diff --git a/plugins/SeenPlugin/src/utils.cpp b/plugins/SeenPlugin/src/utils.cpp index 230f23486b..64fa20c6c9 100644 --- a/plugins/SeenPlugin/src/utils.cpp +++ b/plugins/SeenPlugin/src/utils.cpp @@ -40,6 +40,7 @@ void UnloadWatchedProtos() {
for (int i = 0; i < arWatchedProtos.getCount(); i++)
mir_free(arWatchedProtos[i]);
+ arWatchedProtos.destroy();
}
/////////////////////////////////////////////////////////////////////////////////////////
|