Bug 161529

Summary: [GTK] Fix compiler warning in MiniBrowser
Product: WebKit Reporter: Tomas Popela <tpopela>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, commit-queue
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch none

Description Tomas Popela 2016-09-02 00:44:22 PDT
[5989/6114] Building C object Tools/MiniBrowser/gtk/CMakeFiles/MiniBrowser.dir/BrowserTab.c.o
../../Tools/MiniBrowser/gtk/BrowserTab.c: In function ‘decidePermissionRequest’:
../../Tools/MiniBrowser/gtk/BrowserTab.c:228:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
[5991/6114] Building C object Tools/MiniBrowser/gtk/CMakeFiles/MiniBrowser.dir/BrowserWindow.c.o
../../Tools/MiniBrowser/gtk/BrowserWindow.c: In function ‘browserWindowConstructed’:
../../Tools/MiniBrowser/gtk/BrowserWindow.c:955:20: warning: unused variable ‘window’ [-Wunused-variable]
     BrowserWindow *window = BROWSER_WINDOW(gObject);
                    ^~~~~~
Comment 1 Tomas Popela 2016-09-02 00:48:38 PDT
Created attachment 287748 [details]
Proposed patch
Comment 2 WebKit Commit Bot 2016-09-02 01:56:18 PDT
Comment on attachment 287748 [details]
Proposed patch

Clearing flags on attachment: 287748

Committed r205343: <http://trac.webkit.org/changeset/205343>
Comment 3 WebKit Commit Bot 2016-09-02 01:56:22 PDT
All reviewed patches have been landed.  Closing bug.