From 284600ef1f634fd21b3e8daac345015cbb76b560 Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Tue, 23 Sep 2014 22:17:43 -0600 Subject: [PATCH] rgblink: Don't allocate unnecessary buffer. Delete unused flag. --- src/link/output.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/link/output.c b/src/link/output.c index f849bb1d..7adfc8f1 100644 --- a/src/link/output.c +++ b/src/link/output.c @@ -7,8 +7,7 @@ #include "link/main.h" #include "link/assign.h" -char tzOutname[_MAX_PATH]; -BBOOL oOutput = 0; +char *tzOutname; void writehome(FILE * f) @@ -71,8 +70,7 @@ writebank(FILE * f, SLONG bank) void out_Setname(char *tzOutputfile) { - strcpy(tzOutname, tzOutputfile); - oOutput = 1; + tzOutname = tzOutputfile; } void