Investigate warnings and fix them [2]
AbandonedPublic

Authored by Sergobot on Dec 8 2016, 9:15 PM.

Details

Summary

There are 2 warnings which were not fixed, you can find those in task comments.

The warnings can be found at
https://share.kde.org/index.php/s/sg9bvPYfZzjHXfZ

Related Google Code-In 2016 task:
https://codein.withgoogle.com/dashboard/task-instances/6701772783484928/

Test Plan

Unit tests were passed

Diff Detail

Repository
R33 KDevPlatform
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Sergobot updated this revision to Diff 8870.Dec 8 2016, 9:15 PM
Sergobot retitled this revision from to Investigate warnings and fix them [2].
Sergobot updated this object.
Sergobot edited the test plan for this revision. (Show Details)
Sergobot added reviewers: kfunk, ematirov.
Sergobot added subscribers: kfunk, ematirov.
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptDec 8 2016, 9:15 PM
Sergobot updated this object.Dec 8 2016, 9:17 PM

Here are explanations on why I didn't fix some warnings. Also, attached to the GCI task.

mwolff requested changes to this revision.Feb 18 2017, 11:11 PM
mwolff added a subscriber: mwolff.

please use Q_ASSERT, otherwise lgtm

language/codecompletion/codecompletionhelper.cpp
53

I think this can simply be removed, view will always be valid. you could make it a Q_ASSERT

language/duchain/duchainutils.cpp
164

someone needs to add proper braces to this fugly function (separate patch)

This revision now requires changes to proceed.Feb 18 2017, 11:11 PM
Sergobot abandoned this revision.Jan 24 2019, 1:26 PM