Review Request 126429: Fixed all Clazy warnings level 1 and level 2

Aleix Pol Gonzalez aleixpol at kde.org
Wed Dec 23 14:49:23 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126429/#review89995
-----------------------------------------------------------



src/k7zip.cpp (line 118)
<https://git.reviewboard.kde.org/r/126429/#comment61676>

    Why do we keep all this code?



src/k7zip.cpp (line 2029)
<https://git.reviewboard.kde.org/r/126429/#comment61677>

    I wouldn't get this all in. Is that suggested by `-Wclazy-reserve-candidates`?


- Aleix Pol Gonzalez


On Dec. 19, 2015, 4:56 p.m., Artur Puzio wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126429/
> -----------------------------------------------------------
> 
> (Updated Dec. 19, 2015, 4:56 p.m.)
> 
> 
> Review request for KDE Frameworks and Aleix Pol Gonzalez.
> 
> 
> Repository: karchive
> 
> 
> Description
> -------
> 
> Fixed warning: Folder has dtor but not copy-ctor, copy-assignment [-Wclazy-rule-of-three], by adding Q_DISABLE_COPY(Folder)
> Fixed warning: Reserve candidate [-Wclazy-reserve-candidates], by precalculateing QVector size.
> Fixed warning: unused variable [-Wunused-const-variable], by commenting unused variables
> 
> 
> Diffs
> -----
> 
>   src/k7zip.cpp 7b5e6a3 
> 
> Diff: https://git.reviewboard.kde.org/r/126429/diff/
> 
> 
> Testing
> -------
> 
> Automated tests pass.
> 
> 
> Thanks,
> 
> Artur Puzio
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151223/c87740fe/attachment.html>


More information about the Kde-frameworks-devel mailing list