Review Request 122513: Avoid comparing unintialised variable if BREEZE_HAVE_KSTYLE is not set
Hugo Pereira Da Costa
hugo.pereira at free.fr
Tue Feb 10 16:46:09 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122513/#review75799
-----------------------------------------------------------
Ship it!
Nice spotting ! Thanks !
- Hugo Pereira Da Costa
On Feb. 10, 2015, 4:22 p.m., David Edmundson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122513/
> -----------------------------------------------------------
>
> (Updated Feb. 10, 2015, 4:22 p.m.)
>
>
> Review request for Plasma and Hugo Pereira Da Costa.
>
>
> Repository: breeze
>
>
> Description
> -------
>
> Avoid comparing unintialised variable if BREEZE_HAVE_KSTYLE is not set
>
> if BREEZE_HAVE_KSTYLE is not set CE_CapacityBar remains uninitialised
> (random value). It should therefore not be used in any comparisons.
>
> For KDE4, BREEZE_HAVE_KSTYLE will always be false regardless so that
> behaviour remains the same
>
>
> Diffs
> -----
>
> kstyle/breezestyle.cpp 6d18300
>
> Diff: https://git.reviewboard.kde.org/r/122513/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> David Edmundson
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150210/46149803/attachment.html>
More information about the Plasma-devel
mailing list