<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[C - Check for unused variables and defines]]></title><description><![CDATA[<p dir="auto">Is there a way or extension that can check for variables and definitions defined but not used? I am using Npp and Source Cookifier. I am just learning the plugins and also loaded linter, but it does seem to do anything.</p>
<p dir="auto">Thanks in advance</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20719/c-check-for-unused-variables-and-defines</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 07:02:06 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20719.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Feb 2021 04:37:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to C - Check for unused variables and defines on Wed, 10 Feb 2021 13:16:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robert-lewis" aria-label="Profile: Robert-Lewis">@<bdi>Robert-Lewis</bdi></a></p>
<p dir="auto">To elaborate on what Eko is meaning is that you would set up a compiler to run a compile on your source file, and produce output for you which would indicate your “unused variables” in an output window.</p>
<p dir="auto">Ideally the output window has clickable links which would take you to the point of the problem in your original source code.</p>
<p dir="auto">This would be a “manual run” kind of thing; if you were looking for something that would be an “as you type” solution, I think you’re out of luck.</p>
<p dir="auto">There is some good info in this vein to be found <a href="https://community.notepad-plus-plus.org/topic/20688/faq-desk-how-do-i-use-notepad-to-compile-my-source-code-or-convert-my-text">HERE</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62700</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62700</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 10 Feb 2021 13:16:32 GMT</pubDate></item><item><title><![CDATA[Reply to C - Check for unused variables and defines on Wed, 10 Feb 2021 11:01:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robert-lewis" aria-label="Profile: Robert-Lewis">@<bdi>Robert-Lewis</bdi></a> said in <a href="/post/62682">C - Check for unused variables and defines</a>:</p>
<blockquote>
<p dir="auto">Is there a way or extension that can check for variables and definitions defined but not used?</p>
</blockquote>
<p dir="auto">Depending on the compiler used you can have different warnings set.<br />
See, for example for gcc, <a href="https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html" rel="nofollow ugc">https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/62690</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/62690</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Wed, 10 Feb 2021 11:01:06 GMT</pubDate></item></channel></rss>