diff --git a/src/mac/carbon/toolbar.cpp b/src/mac/carbon/toolbar.cpp index f9e68cbd21..3f0ee10f2e 100644 --- a/src/mac/carbon/toolbar.cpp +++ b/src/mac/carbon/toolbar.cpp @@ -588,7 +588,6 @@ void wxToolBar::OnMouse( wxMouseEvent &event ) ControlHandle control ; Point localwhere ; - GrafPtr port ; SInt16 controlpart ; WindowRef window = (WindowRef) MacGetRootWindow() ; diff --git a/src/mac/toolbar.cpp b/src/mac/toolbar.cpp index f9e68cbd21..3f0ee10f2e 100644 --- a/src/mac/toolbar.cpp +++ b/src/mac/toolbar.cpp @@ -588,7 +588,6 @@ void wxToolBar::OnMouse( wxMouseEvent &event ) ControlHandle control ; Point localwhere ; - GrafPtr port ; SInt16 controlpart ; WindowRef window = (WindowRef) MacGetRootWindow() ; diff --git a/utils/tex2rtf/src/rtfutils.cpp b/utils/tex2rtf/src/rtfutils.cpp index a33c1628b8..d475d96931 100644 --- a/utils/tex2rtf/src/rtfutils.cpp +++ b/utils/tex2rtf/src/rtfutils.cpp @@ -2205,7 +2205,6 @@ void RTFOnMacro(int macroId, int no_args, bool start) { struc->currentItem += 1; - int indentSize = struc->indentation; int oldIndent = 0; wxNode *node2 = NULL; if (itemizeStack.Number() > 1) // TODO: do I actually mean Nth(0) here??