I think, that No. Null-check already exist

static gboolean expand_on_idle(ExpandData *expand_data)
{
        GeanyDocument *doc = document_get_current();

        if (!prj_org)
                return FALSE;

        if (geany_data->app->project == expand_data->project &&
                expand_data->expanded_paths)
        {
                gchar *item;
                guint i;

                foreach_ptr_array(item, i, expand_data->expanded_paths)
                        expand_path(item, FALSE);
                g_ptr_array_free(expand_data->expanded_paths, TRUE);
        }

        g_free(expand_data);

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/579#issuecomment-306178866

Reply via email to