Gerrit-bot: Fix use of uninitialized variable when no sanity-review
If the Sanity-bot subprocess fails to generate a suitable output
with the 'Sanity-Review' label, gerrit-bot restarts the process
repeatedly, spamming the change in gerrit. Check for the
uninitialized variable so the warning isn't thrown.
Task-number: QTQAINFRA-3841
Change-Id: I9950e3242bc043d9d986f9e046d53a6ba1fecf17
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
| commit | 717165804ffc82ab73e1e2b886bd0b0899a5013d |
| parent | 7d4c8b82348a8ef2efb7772d16e0b575051a683e |
| author | Daniel Smith <daniel.smith@qt.io> |
| committer | Daniel Smith <Daniel.Smith@qt.io> |
| commit time | Fri, 10 Jul 2020 13:52:21 +0000 |