
15 Sep
2014
15 Sep
'14
9:43 a.m.
On 09/13/14 15:27, John Ferlan wrote:
Coverity complains that because of how 'offset' is initialized to 0 (zero), the resulting math and comparison on rem is pointless.
According to the origin commit id '3ec128989', the code is a replacement for gmtime(), but without the localtime() or GMT calculations - so just remove this code and add a comment indicating the removal
Signed-off-by: John Ferlan <jferlan@redhat.com> --- src/util/virtime.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-)
ACK Peter