<p>I checked that before, they are fine. That are all calls to <code>foreach_slist</code>, e.g.</p>
<pre><code>static guint wb_project_get_file_count(WB_PROJECT *prj)
{
        GSList *elem;
        guint filenum = 0;

        foreach_slist(elem, prj->directories)
        {
                filenum += ((WB_PROJECT_DIR *)elem->data)->file_count;
        }
        return filenum;
}
</code></pre>
<p>But <code>elem</code> gets assigned the elements from <code>prj->directories</code>, so everything is OK. Looks like <code>ccpcheck</code> is having a problem here with <code>foreach_slist</code>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/601#issuecomment-331210206">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ-ZSPAa08MvdQJ3Qr5Ja7X7XD3enks5sko6MgaJpZM4PK2Ue">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ60slULPQk1egsV5Q0oAeKSSsAPpks5sko6MgaJpZM4PK2Ue.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/pull/601#issuecomment-331210206"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany-plugins","title":"geany/geany-plugins","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany-plugins"}},"updates":{"snippets":[{"icon":"PERSON","message":"@LarsGit223 in #601: I checked that before, they are fine. That are all calls to ```foreach_slist```, e.g. \r\n```\r\nstatic guint wb_project_get_file_count(WB_PROJECT *prj)\r\n{\r\n\tGSList *elem;\r\n\tguint filenum = 0;\r\n\r\n\tforeach_slist(elem, prj-\u003edirectories)\r\n\t{\r\n\t\tfilenum += ((WB_PROJECT_DIR *)elem-\u003edata)-\u003efile_count;\r\n\t}\r\n\treturn filenum;\r\n}\r\n```\r\nBut ```elem``` gets assigned the elements from ```prj-\u003edirectories```, so everything is OK. Looks like ```ccpcheck``` is having a problem here with ```foreach_slist```."}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany-plugins/pull/601#issuecomment-331210206"}}}</script>