summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/src/ttbopt.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-08-10 21:16:34 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-08-10 21:16:34 +0000
commit7196463c057555a935707304b48e0a2ab2ea3443 (patch)
tree3cef64ade4703d5656c22ed9933c193730b7fc13 /plugins/TopToolBar/src/ttbopt.cpp
parent95d8d4c224de772a494b3c658c8b8990c577d173 (diff)
TopToolBar:
- warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@14903 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/src/ttbopt.cpp')
-rw-r--r--plugins/TopToolBar/src/ttbopt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TopToolBar/src/ttbopt.cpp b/plugins/TopToolBar/src/ttbopt.cpp
index cddeaad2f6..fd2e528c75 100644
--- a/plugins/TopToolBar/src/ttbopt.cpp
+++ b/plugins/TopToolBar/src/ttbopt.cpp
@@ -23,6 +23,7 @@ static HTREEITEM AddLine(HWND hTree,TopButtonInt *b, HTREEITEM hItem, HIMAGELIST
if (b->dwFlags & TTBBF_ISSEPARATOR) {
tvis.item.pszText = _T("------------------");
index = -1;
+ tmp = 0;
}
else {
if (b->hIconHandleUp) {
@@ -539,7 +540,7 @@ static INT_PTR CALLBACK ButOrderOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
/////////////////////////////////////////////////////////////////////////////////////////
-int TTBOptInit(WPARAM wParam, LPARAM lParam)
+int TTBOptInit(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
odp.hInstance = hInst;