[Nepomuk] Review Request: In Nepomuk2::ResourceData, don't ignore return values from load()

Allen Winter winter at kde.org
Fri Sep 28 12:47:30 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106621/
-----------------------------------------------------------

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/ed111ec3/attachment.html>


More information about the Nepomuk mailing list