summaryrefslogtreecommitdiffstats
path: root/tools/omfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/omfile.c')
-rw-r--r--tools/omfile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index a45d904b..e543ec9b 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -372,7 +372,6 @@ prepareFile(instanceData *pData, uchar *newFileName)
}
} else {
/* file does not exist, create it (and eventually parent directories */
- fd = -1;
if(pData->bCreateDirs) {
/* We first need to create parent dirs if they are missing.
* We do not report any errors here ourselfs but let the code