diff options
Diffstat (limited to 'target.c')
-rw-r--r-- | target.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -52,6 +52,9 @@ static void target_set_state(Target *t, TargetState state) { TargetState old_state; assert(t); + if (state == t->state) + return; + old_state = t->state; t->state = state; |