diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-03-18 21:31:53 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-03-18 21:31:53 +0000 |
commit | 0681b5f9e2deb90abcc087482c43e722cc328283 (patch) | |
tree | efb94767b781d0cb3d51640b83abe888d6d35783 /plugins/WhoUsesMyFiles/src/list.cpp | |
parent | 1b32752a58bf046688d99dd614e2fc59acd65ca4 (diff) |
minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@4101 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhoUsesMyFiles/src/list.cpp')
-rw-r--r-- | plugins/WhoUsesMyFiles/src/list.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/WhoUsesMyFiles/src/list.cpp b/plugins/WhoUsesMyFiles/src/list.cpp index 6044021819..cbc36318cc 100644 --- a/plugins/WhoUsesMyFiles/src/list.cpp +++ b/plugins/WhoUsesMyFiles/src/list.cpp @@ -9,10 +9,9 @@ PWumf new_wumf( DWORD dwID, DWORD dwPerm,
DWORD dwAttr)
{
- PWumf w;
//TCHAR szID[10];
- w = (PWumf)malloc(sizeof(Wumf));
+ PWumf w = (PWumf)malloc(sizeof(Wumf));
if(!w)return NULL;
//#define SCPY(X) if(X){w->X = (LPTSTR)malloc(1+_tcslen(X));if(!w->X)return NULL;_tcscpy(w->X, X);} else { w->X = NULL;}
|