From 64d436abd5d160aa9e0691a79cef1f4c7b1988d5 Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sat, 26 Oct 2002 16:43:50 +0000 Subject: [PATCH] Don't initialize dmalloc variables when not needed. --- t/src/test_gom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2