[geany/geany-plugins] e721ed: Remove unnecessary assert

Jiří Techet git-noreply at xxxxx
Thu Apr 4 22:16:39 UTC 2013


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Thu, 04 Apr 2013 22:16:39 UTC
Commit:      e721ed103dd1ba4a91de45c0378786359c67a55d
             https://github.com/geany/geany-plugins/commit/e721ed103dd1ba4a91de45c0378786359c67a55d

Log Message:
-----------
Remove unnecessary assert


Modified Paths:
--------------
    gproject/src/gproject-main.c

Modified: gproject/src/gproject-main.c
2 files changed, 0 insertions(+), 2 deletions(-)
===================================================================
@@ -66,8 +66,6 @@ static void on_doc_open(G_GNUC_UNUSED GObject * obj, G_GNUC_UNUSED GeanyDocument
 static void on_doc_activate(G_GNUC_UNUSED GObject * obj, G_GNUC_UNUSED GeanyDocument * doc,
 		G_GNUC_UNUSED gpointer user_data)
 {
-	g_return_if_fail(doc != NULL && doc->file_name != NULL);
-
 	gprj_sidebar_update(FALSE);
 }
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list