mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
qemu-iotests: get rid of $iam
The variable is almost unused, and one of the two uses is actually uninitialized. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
8f4dcaba9b
commit
4e670492ef
2 changed files with 2 additions and 5 deletions
|
@ -30,12 +30,9 @@ interrupt=true
|
|||
# by default don't output timestamps
|
||||
timestamp=${TIMESTAMP:=false}
|
||||
|
||||
# generic initialization
|
||||
iam=check
|
||||
|
||||
_init_error()
|
||||
{
|
||||
echo "$iam: $1" >&2
|
||||
echo "check: $1" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ poke_file()
|
|||
|
||||
if ! . ./common.config
|
||||
then
|
||||
echo "$iam: failed to source common.config"
|
||||
echo "$0: failed to source common.config"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue