Wireshark-commits: [Wireshark-commits] master 5af1e3a: Fix -Wabsolute-value in TAP Compare stat (Fo

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 15 Mar 2014 11:42:50 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5af1e3a9582d6c1b5c4eb110840e74d0518e59dc
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

5af1e3a by Alexis La Goutte (alexis.lagoutte@xxxxxxxxx):

    Fix -Wabsolute-value in TAP Compare stat (Found by Clang 3.5)
    
    tap-comparestat.c:321:55: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
    tap-comparestat.c:321:55: note: remove the call to 'abs' since unsigned values cannot be negative
    tap-comparestat.c:347:56: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
    tap-comparestat.c:347:56: note: remove the call to 'abs' since unsigned values cannot be negative
    
    Change-Id: Ice950228d844373abcbd0cdc8ea05079b8b933d0
    Reviewed-on: https://code.wireshark.org/review/676
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  813bc10   Fix -Wabsolute-value in GTK Compare stat (Found by Clang 3.5)
    adds  5af1e3a   Fix -Wabsolute-value in TAP Compare stat (Found by Clang 3.5)


Summary of changes:
 ui/cli/tap-comparestat.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)