<p>Hello!</p>
<p>While chasing down these <code>clang</code> warnings I found that some code is redundant and can be safely removed:</p>
<div class="snippet-clipboard-content position-relative" data-snippet-clipboard-copy-content="main/parse.c:5007:26: warning: unused function 'FallbackParser' [-Wunused-function]
static parserDefinition *FallbackParser (void)
                         ^
main/parse.c:5040:26: warning: unused function 'CTagsParser' [-Wunused-function]
static parserDefinition *CTagsParser (void)
                         ^
main/parse.c:5355:26: warning: unused function 'CTagsSelfTestParser' [-Wunused-function]
static parserDefinition *CTagsSelfTestParser (void)
                         ^
"><pre><code>main/parse.c:5007:26: warning: unused function 'FallbackParser' [-Wunused-function]
static parserDefinition *FallbackParser (void)
                         ^
main/parse.c:5040:26: warning: unused function 'CTagsParser' [-Wunused-function]
static parserDefinition *CTagsParser (void)
                         ^
main/parse.c:5355:26: warning: unused function 'CTagsSelfTestParser' [-Wunused-function]
static parserDefinition *CTagsSelfTestParser (void)
                         ^
</code></pre></div>
<p>This is because we explicitly define <code>EXTERNAL_PARSER_LIST </code> in tm_parsers.h at <a href="https://github.com/geany/geany/blob/master/src/tagmanager/tm_parsers.h#L16">https://github.com/geany/geany/blob/master/src/tagmanager/tm_parsers.h#L16</a> so guess no need to check for not defined case?</p>
<p>Thanks!</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2890'>https://github.com/geany/geany/pull/2890</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Remove redundant code</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2890/files#diff-f1521130e8a0e7ec530c3da015d501b7a47ef008da5ef2860a40e6381aebd1d4">ctags/main/parse.c</a>
    (338)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2890/files#diff-463d738437d22f3b457e482a9cc8684c342129c09861d3f3f28b3e89c2c0414b">ctags/main/parse_p.h</a>
    (13)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2890.patch'>https://github.com/geany/geany/pull/2890.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2890.diff'>https://github.com/geany/geany/pull/2890.diff</a></li>
</ul>

<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/pull/2890">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5CXYIHCKBZFEUARZ3UANVUXANCNFSM5DO2CPLA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ77QBCFVG4ZY742QFDUANVUXA5CNFSM5DO2CPLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OXLOWOQ.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/pull/2890",
"url": "https://github.com/geany/geany/pull/2890",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>