[Nepomuk] Review Request: In Nepomuk2::ResourceData, don't ignore return values from load()
Allen Winter
winter at kde.org
Fri Sep 28 13:12:47 UTC 2012
> On Sept. 28, 2012, 12:59 p.m., Vishesh Handa wrote:
> > The patch still doesn't show over here, but I downloaded the patch and it seems fine.
>
> Vishesh Handa wrote:
> Btw, Did you ever encounter a situation when load() was failing?
no, not specifically.
I noticed this on code inspection while trying to track down a crash on operator<< of a uri()
- Allen
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106621/#review19511
-----------------------------------------------------------
On Sept. 28, 2012, 12:50 p.m., Allen Winter wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106621/
> -----------------------------------------------------------
>
> (Updated Sept. 28, 2012, 12:50 p.m.)
>
>
> Review request for Nepomuk.
>
>
> Description
> -------
>
> Nepomuk2::ResourceData::load() returns a boolean success/failure. But several of the methods calling load() ignore that return value. This patch remedies that by checking the return from load() and dealing with it properly.
>
>
> Diffs
> -----
>
> libnepomukcore/resource/resourcedata.cpp c14582f
>
> Diff: http://git.reviewboard.kde.org/r/106621/diff/
>
>
> Testing
> -------
>
> Builds ok.
> Been running with it for a couple days with no crashes or obvious problems.
>
>
> Thanks,
>
> Allen Winter
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120928/2d6e6c94/attachment.html>
More information about the Nepomuk
mailing list