Prevent an unlikely crash during RSSyl feed properties save.
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 9 Apr 2016 16:06:26 +0000 (18:06 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Sat, 9 Apr 2016 16:06:26 +0000 (18:06 +0200)
This is just to shut Coverity up, I don't think it could
ever crash this way.

src/plugins/rssyl/rssyl_feed_props.c

index ac29f24..30dd9e9 100644 (file)
@@ -49,6 +49,7 @@ static void rssyl_gtk_prop_store(RFolderItem *ritem)
 
        g_return_if_fail(ritem != NULL);
        g_return_if_fail(ritem->feedprop != NULL);
+       g_return_if_fail(ritem->url != NULL);
 
        url = (gchar *)gtk_entry_get_text(GTK_ENTRY(ritem->feedprop->url));