From: Tobias Oetiker Date: Thu, 2 Feb 2012 15:39:54 +0000 (+0000) Subject: remove duplicate code in rrd_open -- Richard Laager X-Git-Tag: 1.4.8~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e8bfaf37b374e7c3814d42febe51f04da916710;p=thirdparty%2Frrdtool-1.x.git remove duplicate code in rrd_open -- Richard Laager git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2271 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_open.c b/src/rrd_open.c index 9a5385ae..a469d56e 100644 --- a/src/rrd_open.c +++ b/src/rrd_open.c @@ -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;