From: Peter Verthez Date: Sat, 26 Oct 2002 16:43:50 +0000 (+0000) Subject: Don't initialize dmalloc variables when not needed. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=64d436abd5d160aa9e0691a79cef1f4c7b1988d5;p=gedcom-parse.git Don't initialize dmalloc variables when not needed. --- diff --git a/t/src/test_gom b/t/src/test_gom index 108f498..5c20bba 100755 --- a/t/src/test_gom +++ b/t/src/test_gom @@ -4,8 +4,6 @@ options="-q" extra_options= -dmalloc=`which dmalloc` -dmalloc_tmp=dmalloc.env while [ $# -gt 0 ] do @@ -58,6 +56,8 @@ if [ "$GOM_DMALLOC_TEST" = "" ] then $ltcmd $GEDCOM_TESTENV $builddir/src/gomtest $options $testfile else + dmalloc=`which dmalloc` + dmalloc_tmp=dmalloc.env $dmalloc -b -l $GOM_DMALLOC_TEST -i 100 low > $dmalloc_tmp . $dmalloc_tmp rm $dmalloc_tmp