D18576: Simpe C updates to ksysguardd code
Tomaz Canabrava
noreply at phabricator.kde.org
Mon Jan 28 10:52:39 GMT 2019
tcanabrava created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
tcanabrava requested review of this revision.
REVISION SUMMARY
Use C 11, it has better defaults
Simplify if - chain
Reduce variable scope
Don't check before free
REPOSITORY
R106 KSysguard
BRANCH
simplify_c_code
REVISION DETAIL
https://phabricator.kde.org/D18576
AFFECTED FILES
ksysguardd/CMakeLists.txt
ksysguardd/Command.c
ksysguardd/PWUIDCache.c
ksysguardd/conf.c
ksysguardd/ksysguardd.c
To: tcanabrava
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190128/2902f979/attachment.html>
More information about the Plasma-devel
mailing list