[gnome-commander/gcmd-1-3] Removed surplus assertions
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-3] Removed surplus assertions
- Date: Thu, 22 Oct 2009 22:52:30 +0000 (UTC)
commit 89b8fcbf9222d1cdf97471aa36d45cf5af7373c6
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]