[gnome-commander] Removed surplus assertions



commit 653c52a59e8a664971c142b92d2ad4fa729336df
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Fri Oct 23 00:32:51 2009 +0200

    Removed surplus assertions

 src/intviewer/fileops.cc |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/intviewer/fileops.cc b/src/intviewer/fileops.cc
index 8f4b46f..b8dd774 100644
--- a/src/intviewer/fileops.cc
+++ b/src/intviewer/fileops.cc
@@ -87,8 +87,7 @@ struct _ViewerFileOps
 
 ViewerFileOps *gv_fileops_new()
 {
-    ViewerFileOps *fops = g_new0(ViewerFileOps, 1);
-    g_return_val_if_fail (fops!=NULL, NULL);
+    ViewerFileOps *fops = g_new0 (ViewerFileOps, 1);
 
     fops->file = -1;
     return fops;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]