mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-16 22:43:58 +03:00
fix coverity 1109906 uninitialised pointer read
This commit is contained in:
parent
a921a007e6
commit
2cd2846122
@ -612,7 +612,7 @@ MULTIHANDLER(newwindow)
|
||||
nserror nsgtk_scaffolding_new_tab(struct gui_window *gw)
|
||||
{
|
||||
struct browser_window *bw = nsgtk_get_browser_window(gw);
|
||||
nsurl *url;
|
||||
nsurl *url = NULL;
|
||||
nserror error;
|
||||
|
||||
if (!nsoption_bool(new_blank)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user