Code

remove duplicate code in rrd_open -- Richard Laager
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 2 Feb 2012 15:39:54 +0000 (15:39 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 2 Feb 2012 15:39:54 +0000 (15:39 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2271 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_open.c

index 9a5385ae9ef979668f92d04959e50e55e4b2dc72..a469d56e036faeeeae023e3c22b0d5255978a3c0 100644 (file)
@@ -300,9 +300,6 @@ rrd_file_t *rrd_open(
         goto out_close;
     }
     rrd_simple_file->file_start = data;
-    if (rdwr & RRD_CREAT) {
-        goto out_done;
-    }
 #endif
     if (rdwr & RRD_CREAT)
         goto out_done;