[Github-comments] [geany/geany-plugins] Debugger: Fix cppcheck false positive warning (#1017)

Colomban Wendling notifications at xxxxx
Sat Oct 24 09:19:20 UTC 2020


@b4n commented on this pull request.



> @@ -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]);

Yeah I was just testing manually building cppcheck 2.2 :)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1017#discussion_r511358083
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201024/7924e5bb/attachment.htm>


More information about the Github-comments mailing list