From 46afaf938d1314e776df6d04a294b285deab9f2a Mon Sep 17 00:00:00 2001 From: oetiker Date: Thu, 2 Feb 2012 15:39:54 +0000 Subject: [PATCH] remove duplicate code in rrd_open -- Richard Laager git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2271 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_open.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/program/src/rrd_open.c b/program/src/rrd_open.c index 0de9b395..9c839a15 100644 --- a/program/src/rrd_open.c +++ b/program/src/rrd_open.c @@ -301,9 +301,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; -- 2.30.2