Wireshark-commits: [Wireshark-commits] master a3666e5: QCustomPlot: fix division(or modulo) by zero

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 13 May 2015 17:38:10 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a3666e5e399f83b609413a6d0d382bc15ae92e70
Submitter: Alexis La Goutte (alexis.lagoutte@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

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

    QCustomPlot: fix division(or modulo) by zero found by Clang and Coverity (CID 1159170 & 1159171)
    
    Try 2
    
    Change-Id: I10c439ccd4b8e5ac24275332e35fb35ad95b8d1b
    Reviewed-on: https://code.wireshark.org/review/8447
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    

Actions performed:

    from  4c4328e   Try to avoid duplicate display filter completions.
    adds  a3666e5   QCustomPlot: fix division(or modulo) by zero found by Clang and Coverity (CID 1159170 & 1159171)


Summary of changes:
 ui/qt/qcustomplot.cpp |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)