Skip to content

Commit

Permalink
Removed erroneously duplicated lines of code
Browse files Browse the repository at this point in the history
Former-commit-id: 0f777f5dc126e549e5dbe96cd4390aa310a6a1e2
  • Loading branch information
Suzanne Millstein committed Oct 25, 2011
1 parent 18c6bca commit 44a4ab8
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions tools/src/tau_compiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1030,33 +1030,6 @@ while [ $tempCounter -lt $numFiles ]; do
arrPdb[$tempCounter]="${PDBARGSFORTAU}${newFile}"
tempCounter=tempCounter+1

if [ $optCompInst == $FALSE ] ; then
newFile=${base}.inst${suf}
else
newFile=${arrFileName[$tempCounter]}
fi
arrTau[$tempCounter]="${OUTPUTARGSFORTAU}${newFile}"
arrPdbForTau[$tempCounter]="${PDBARGSFORTAU}${newFile}"
if [ $pdbFileSpecified == $FALSE ]; then
newFile=${base}.pdb

# if we are using cxxparse for a .c file, cxxparse spits out a .c.pdb file
if [ "x$defaultParser" = "xcxxparse" -a "x$suf" = "x.c" ] ; then
newFile=${arrFileName[$tempCounter]}.pdb
fi
if [ "x$groupType" = "x$group_f_F" -a "x$suf" = "x.for" ] ; then
newFile=${arrFileName[$tempCounter]}.pdb
fi
if [ "x$groupType" = "x$group_f_F" -a "x$suf" = "x.FOR" ] ; then
newFile=${arrFileName[$tempCounter]}.pdb
fi

else
newFile=$optPDBFile;
fi
arrPdb[$tempCounter]="${PDBARGSFORTAU}${newFile}"
tempCounter=tempCounter+1

done
echoIfDebug "Completed Parsing\n"

Expand Down

0 comments on commit 44a4ab8

Please sign in to comment.