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

Artur Puzio cytadela88 at gmail.com
Wed Dec 23 14:51:10 UTC 2015



> On Gru 23, 2015, 3:49 po południu, Aleix Pol Gonzalez wrote:
> > src/k7zip.cpp, line 2029
> > <https://git.reviewboard.kde.org/r/126429/diff/1/?file=424823#file424823line2029>
> >
> >     I wouldn't get this all in. Is that suggested by `-Wclazy-reserve-candidates`?

Yes this is suggested by `-Wclazy-reserve-candidates`.


- Artur


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


On Gru 23, 2015, 3:49 po południu, Artur Puzio wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126429/
> -----------------------------------------------------------
> 
> (Updated Gru 23, 2015, 3:49 po południu)
> 
> 
> Review request for KDE Frameworks, Aleix Pol Gonzalez and Sergio Martins.
> 
> 
> 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/16b65d15/attachment.html>


More information about the Kde-frameworks-devel mailing list