diff options
author | Teddy Wing | 2017-11-10 02:29:13 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-10 02:29:13 +0100 |
commit | 274f22abbd33e083b52fc5ade828050b61a22f85 (patch) | |
tree | 16def4d4c67fcf4a4931b8063feab7990e356488 /src/main.rs | |
parent | fe47473ca07578e22fdd28bdb9a7531c63a2ef0a (diff) | |
download | kipper-274f22abbd33e083b52fc5ade828050b61a22f85.tar.bz2 |
find_and_track_build_and_update_status(): Fix `while` loop
I got an unused variable warning on line 142 when I "reset" job at the
end of the loop. But actually, I wasn't resetting it, I was creating a
new variable in the inner scope.
In order to update the `job` used by the `while` loop, I think we need
to make `job` a mutable variable and then set it at the end of the loop.
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions