diff options
author | George Hazan <ghazan@miranda.im> | 2019-04-26 20:21:57 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-04-26 20:21:57 +0300 |
commit | 776762315028688643d6cf8c1effee0dc0b9d20c (patch) | |
tree | 9f79d1bcc830d3284887cb132247304d92f636d8 | |
parent | a5752fee6f8645c7fad0ca80e6fae3a5e77927d0 (diff) |
another unused variable removed
-rw-r--r-- | plugins/PluginUpdater/src/DlgListNew.cpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/plugins/PluginUpdater/src/DlgListNew.cpp b/plugins/PluginUpdater/src/DlgListNew.cpp index dab61be944..6ed34d3e73 100644 --- a/plugins/PluginUpdater/src/DlgListNew.cpp +++ b/plugins/PluginUpdater/src/DlgListNew.cpp @@ -37,7 +37,7 @@ static void ApplyDownloads(void *param) HWND hDlg = (HWND)param;
- //////////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////////////
// if we need to escalate priviledges, launch a atub
if (!PrepareEscalation()) {
@@ -45,7 +45,7 @@ static void ApplyDownloads(void *param) return;
}
- //////////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////////////
// ok, let's unpack all zips
AutoHandle pipe(hPipe);
@@ -174,10 +174,8 @@ INT_PTR CALLBACK DlgList(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) DeleteFile(szPath);
}
}
- RECT r;
- GetClientRect(hwndList, &r);
- ///
+ //////////////////////////////////////////////////////////////////////////////////////
LVCOLUMN lvc = { 0 };
lvc.mask = LVCF_WIDTH | LVCF_TEXT;
@@ -189,7 +187,7 @@ INT_PTR CALLBACK DlgList(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) lvc.cx = 100; // width of column in pixels
ListView_InsertColumn(hwndList, 1, &lvc);
- ///
+ //////////////////////////////////////////////////////////////////////////////////////
LVGROUP lvg;
lvg.cbSize = sizeof(LVGROUP);
lvg.mask = LVGF_HEADER | LVGF_GROUPID;
@@ -212,11 +210,11 @@ INT_PTR CALLBACK DlgList(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) ListView_EnableGroupView(hwndList, TRUE);
- ///
+ //////////////////////////////////////////////////////////////////////////////////////
SendMessage(hwndList, LVM_SETEXTENDEDLISTVIEWSTYLE, 0, LVS_EX_FULLROWSELECT | LVS_EX_SUBITEMIMAGES | LVS_EX_CHECKBOXES | LVS_EX_LABELTIP);
ListView_DeleteAllItems(hwndList);
- ///
+ //////////////////////////////////////////////////////////////////////////////////////
bool enableOk = false;
OBJLIST<FILEINFO> &todo = *(OBJLIST<FILEINFO> *)lParam;
for (auto &p : todo) {
@@ -372,7 +370,7 @@ static FILEINFO* ServerEntryToFileInfo(const ServListEntry &hash, const wchar_t* /////////////////////////////////////////////////////////////////////////////////////////
// building file list in the separate thread
-//
+
static void GetList(void *)
{
Thread_SetName("PluginUpdater: GetList");
|