Remove unused variable from wxWebViewWebKit code in wxGTK.

g++ correctly warned about a variable being set but never used, just remove
it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-11-30 09:16:48 +00:00
parent f0776dc43f
commit 35ce2b44b5

View File

@@ -606,8 +606,6 @@ void wxWebViewWebKit::LoadHistoryItem(wxSharedPtr<wxWebViewHistoryItem> item)
WebKitWebHistoryItem* gtkitem = (WebKitWebHistoryItem*)item->m_histItem;
if(gtkitem)
{
WebKitWebBackForwardList* history;
history = webkit_web_view_get_back_forward_list(WEBKIT_WEB_VIEW(web_view));
webkit_web_view_go_to_back_forward_item(WEBKIT_WEB_VIEW(web_view),
WEBKIT_WEB_HISTORY_ITEM(gtkitem));
}