ld/testsuite: Initialise a variable to prevent tcl errors
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 12 Apr 2016 10:04:19 +0000 (11:04 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 13 Apr 2016 14:22:42 +0000 (15:22 +0100)
commit758c54957d709bdd82b16fa5ce75040abd27daac
tree3c71684795f1c544d75e78f6c11cd2bc5a45dca4
parent8c4c4aeba6e32e3b7d0a4fbda4494b17883dd9c4
ld/testsuite: Initialise a variable to prevent tcl errors

In some cases a variable could be left uninitialised and then an attempt
made to read this variable, resulting in a tcl error.  This commit
initialises the variable in all cases.

ld/ChangeLog:

* testsuite/lib/ld-lib.exp (run_dump_test): Initialise
check_ld(terminal).
ld/ChangeLog
ld/testsuite/lib/ld-lib.exp