some static analyzer improvements for service runner
ClosedPublic

Authored by sitter on Mar 19 2020, 2:13 PM.

Details

Summary
  • be more consty (and don't risk detatching containers)
  • init members
  • don't ql1s to qstring
  • use auto when newing an object
Test Plan

test passes

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sitter created this revision.Mar 19 2020, 2:13 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 19 2020, 2:13 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sitter requested review of this revision.Mar 19 2020, 2:13 PM
broulik accepted this revision.Mar 19 2020, 2:18 PM
broulik added inline comments.
runners/services/servicerunner.cpp
114

Perhaps use .at(i)

464

Keep the * :p

This revision is now accepted and ready to land.Mar 19 2020, 2:18 PM
This revision was automatically updated to reflect the committed changes.