D19828: [Kinit] Compile without foreach

David Faure noreply at phabricator.kde.org
Sun Mar 17 20:09:21 GMT 2019


dfaure requested changes to this revision.
dfaure added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> kinit_win.cpp:442
> +    const auto list = processList.list();
> +    for (const ProcessListEntry *ple : lst) {
>          if (!ple->path.isEmpty() && ple->path.toLower().startsWith(installPrefix.toLower())) {

How can this compile? The variable is called list instead of lst.

REPOSITORY
  R303 KInit

REVISION DETAIL
  https://phabricator.kde.org/D19828

To: mlaurent, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190317/5072e602/attachment.html>


More information about the Kde-frameworks-devel mailing list