]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove unused variable from wxWebViewWebKit code in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 30 Nov 2011 09:16:48 +0000 (09:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 30 Nov 2011 09:16:48 +0000 (09:16 +0000)
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

src/gtk/webview_webkit.cpp

index 711850155b98cc9d390f1ef17932ab6ef83f40cf..8b249a80628a66ba160b2cce6da300539794a02c 100644 (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));
     }