Cosmetic cleanup.

This commit is contained in:
Markus F.X.J. Oberhumer
2006-11-30 23:21:47 +01:00
parent 8f73dbd253
commit 665dcf221b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -64,7 +64,7 @@
PackMaster::PackMaster(InputFile *f, options_t *o) : PackMaster::PackMaster(InputFile *f, options_t *o) :
fi(f), p(NULL) fi(f), p(NULL)
{ {
// replace options with local options // replace global options with local options
saved_opt = o; saved_opt = o;
if (o) if (o)
{ {
@@ -79,7 +79,7 @@ PackMaster::~PackMaster()
{ {
fi = NULL; fi = NULL;
delete p; p = NULL; delete p; p = NULL;
// restore options // restore global options
if (saved_opt) if (saved_opt)
opt = saved_opt; opt = saved_opt;
saved_opt = NULL; saved_opt = NULL;
+1 -1
View File
@@ -41,7 +41,7 @@ class OutputFile;
class PackMaster class PackMaster
{ {
public: public:
PackMaster(InputFile *f, options_t *o = NULL); PackMaster(InputFile *f, options_t *o=NULL);
virtual ~PackMaster(); virtual ~PackMaster();
void pack(OutputFile *fo); void pack(OutputFile *fo);