summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/runfile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/runfile.in')
-rw-r--r--Build/source/utils/asymptote/runfile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/runfile.in b/Build/source/utils/asymptote/runfile.in
index 584b97f1394..e51b3b76eac 100644
--- a/Build/source/utils/asymptote/runfile.in
+++ b/Build/source/utils/asymptote/runfile.in
@@ -43,7 +43,7 @@ file* :nullFile()
file* input(string name=emptystring, bool check=true,
string comment=commentchar, string mode=emptystring)
{
- file *f;
+ file *f=NULL;
if(mode == "binary") {
f=new ibfile(name,check);
} else if(mode == "xdr") {
@@ -71,7 +71,7 @@ file* input(string name=emptystring, bool check=true,
file* output(string name=emptystring, bool update=false,
string comment=commentchar, string mode=emptystring)
{
- file *f;
+ file *f=NULL;
if(mode == "pipe") {
f=new opipe(name);
} else if(mode == "binary") {