<p></p>
<p><b>@b4n</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany-plugins/pull/1017#discussion_r510758415">debugger/src/tpage.c</a>:</p>
<pre style='color:#555'>> @@ -265,11 +264,9 @@ void tpage_pack_widgets(gboolean tabbed)
 
        if (oldroot)
        {
-               int i = 0;
-               while (widgets[i])
+               for (int i = 0; widgets[i]; i++)
                {
                        g_object_unref(*widgets[i]);
</pre>
<p>Is cppcheck happy with that?  Actually I'm still confused on what it didn't like before, so maybe it's happy. It's correct anyway so whichever way's OK with me.</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/1017#pullrequestreview-515500152">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYXK663YBKBDBRKIYLSMFEQTANCNFSM4SUHYX2Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ47QRYQ2KXRFLCZQMDSMFEQTA5CNFSM4SUHYX22YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOD246Q6A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/pull/1017#pullrequestreview-515500152",
"url": "https://github.com/geany/geany-plugins/pull/1017#pullrequestreview-515500152",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>