Use g_return_val_if_fail() to fix build on OS X
This commit is contained in:
parent
7215c50277
commit
f9e6ceacee
@ -2000,7 +2000,7 @@ gboolean geany_plugin_register_proxy(GeanyPlugin *plugin, const gchar **extensio
|
|||||||
foreach_list(node, active_proxies.head)
|
foreach_list(node, active_proxies.head)
|
||||||
{
|
{
|
||||||
proxy = node->data;
|
proxy = node->data;
|
||||||
g_return_if_fail(p != proxy->plugin);
|
g_return_val_if_fail(p != proxy->plugin, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach_strv(ext, extensions)
|
foreach_strv(ext, extensions)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user