]> git.sur5r.net Git - openocd/commit
svf: fix progress reporting switch behaviour
authorPaul Fertser <fercerpav@gmail.com>
Fri, 20 Nov 2015 10:08:20 +0000 (13:08 +0300)
committerFreddie Chopin <freddie.chopin@gmail.com>
Fri, 20 Nov 2015 22:27:48 +0000 (22:27 +0000)
commita652a4ea209d24d0f0ebcc73e5eaab14169f958d
tree80dcd0d376229467487c8544e65e74dc60e84856
parent40bd770f4523ac341892ece765d76d929f2174dc
svf: fix progress reporting switch behaviour

The svf_progress_enabled variable is global, hence its lifetime is not
limited and it retains the value from the previous run. Fix this by
explicit assignment.

Change-Id: Id6f4fa88f39521606342a37f6876a0948ac5406e
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/3111
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/svf/svf.c