remove unnecessary cm_return_val_if_fail()
authorPaul <paul@claws-mail.org>
Fri, 13 Nov 2020 09:33:11 +0000 (09:33 +0000)
committerPaul <paul@claws-mail.org>
Fri, 13 Nov 2020 09:33:11 +0000 (09:33 +0000)
src/folder.c

index 7f06d3342e47c7a3caf0eb322ba0fffb0167d2bf..3982e858f08b58ffa4436311af085144495cefbb 100644 (file)
@@ -3988,7 +3988,6 @@ static gchar *folder_item_get_cache_file(FolderItem *item)
        gchar *old_file;
 
        cm_return_val_if_fail(item != NULL, NULL);
-       cm_return_val_if_fail(item->path != NULL, NULL);
 
        path = folder_item_get_path(item);
        cm_return_val_if_fail(path != NULL, NULL);