|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH v2 12/12] replay: assert time only goes forward |
Date: | Wed, 5 Apr 2017 15:49:49 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 05/04/2017 15:33, Pavel Dovgalyuk wrote: >> + >> + /* Time can only go forward */ >> + assert(diff >= 0); >> + >> if (diff > 0) { > This "if" is useless then. > It isn't, "diff == 0" can happen. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |