summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/runfile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/runfile.cc')
-rw-r--r--Build/source/utils/asymptote/runfile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/runfile.cc b/Build/source/utils/asymptote/runfile.cc
index 98303cf52f3..f12f8addb5c 100644
--- a/Build/source/utils/asymptote/runfile.cc
+++ b/Build/source/utils/asymptote/runfile.cc
@@ -120,7 +120,7 @@ void gen_runfile3(stack *Stack)
bool check=vm::pop<bool>(Stack,true);
string name=vm::pop<string>(Stack,emptystring);
#line 45 "runfile.in"
- file *f;
+ file *f=NULL;
if(mode == "binary") {
f=new ibfile(name,check);
} else if(mode == "xdr") {
@@ -154,7 +154,7 @@ void gen_runfile4(stack *Stack)
bool update=vm::pop<bool>(Stack,false);
string name=vm::pop<string>(Stack,emptystring);
#line 73 "runfile.in"
- file *f;
+ file *f=NULL;
if(mode == "pipe") {
f=new opipe(name);
} else if(mode == "binary") {