X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=tools%2Fphm2if.cpp;h=de845725f964c20c9333f917922b32267de57920;hp=f56a8f1a13c102d9d409b2930f047bc41fae8906;hb=fe5e8e2752729fa51f7d5c93e267404b6a333dab;hpb=a9c9c7d1a1068e92145c923fab2801149e0e6899 diff --git a/tools/phm2if.cpp b/tools/phm2if.cpp index f56a8f1..de84572 100644 --- a/tools/phm2if.cpp +++ b/tools/phm2if.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: phm2if.cpp,v 1.13 2000/11/09 00:12:25 kevin Exp $ +** $Id: phm2if.cpp,v 1.14 2000/11/29 11:12:53 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -50,7 +50,7 @@ static struct option my_options[] = {0, 0, 0, 0} }; -static const char* g_szIdStr = "$Id: phm2if.cpp,v 1.13 2000/11/09 00:12:25 kevin Exp $"; +static const char* g_szIdStr = "$Id: phm2if.cpp,v 1.14 2000/11/29 11:12:53 kevin Exp $"; void phm2if_usage (const char *program) @@ -301,7 +301,7 @@ phm2if_main (int argc, char* argv[]) pImGlobal = new ImageFile (opt_nx, opt_ny); #endif - ImageFileArray v; + ImageFileArray v = NULL; #ifdef HAVE_MPI if (mpiWorld.getRank() == 0) v = pImGlobal->getArray ();