X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmArgMgr.cxx;h=cd15136d1d485c43161638dd5646e027257ea0a0;hb=a401c209a120a44b355e53180a5a9a8d1a3cdc4c;hp=6ec2636714bcd128bb419a48c8c38366a63058d3;hpb=e62ccd7696a36805e3eee643c86e80ffc1dd802d;p=gdcm.git diff --git a/src/gdcmArgMgr.cxx b/src/gdcmArgMgr.cxx index 6ec26367..cd15136d 100644 --- a/src/gdcmArgMgr.cxx +++ b/src/gdcmArgMgr.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmArgMgr.cxx,v $ Language: C++ - Date: $Date: 2007/05/23 14:18:07 $ - Version: $Revision: 1.24 $ + Date: $Date: 2007/09/28 11:03:53 $ + Version: $Revision: 1.25 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -43,12 +43,13 @@ namespace GDCM_NAME_SPACE * @param argv pointers array on the arguments passed to main() */ ArgMgr::ArgMgr(int argc, char **argv) + : ArgUsed(NULL), ArgLab(NULL), ArgStr(NULL), ArgCount(0), Appel(NULL) { int i; - int nblettre; - ArgUsed = NULL; - Appel = NULL; - + int nblettre; + ArgLab = new char *[ARGMAXCOUNT]; + ArgStr = new char *[ARGMAXCOUNT]; + /* Read the parameters of the command line *************************/ for ( ArgCount=0, nblettre=1 , i=0; i