<blockquote>
<ol start="2">
<li>and if it did, the return_ifs can shortcut return and leave it uninitialised.</li>
</ol>
</blockquote>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=811085" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/elextr">@elextr</a> got a point, it's actually technically correct to say the value may not be initialized because of those checks, and it seem impossible for a tool to infer that those checks will succeed, even if we know they will -- unless something else went terribly bad and we're fubar.</p>
<p>So although I initially blamed that on cppcheck, I guess it's fair and this PR makes sense.</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/916?email_source=notifications&email_token=AAIOWJ763ISVNLIMGF5TN7TQNJJ4PA5CNFSM4I47R66KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOUPAY#issuecomment-538789763">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ44SKRVTMFX5LT4EVDQNJJ4PANCNFSM4I47R66A">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3LCL5NY4L7BPYRBEDQNJJ4PA5CNFSM4I47R66KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOUPAY.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/916?email_source=notifications\u0026email_token=AAIOWJ763ISVNLIMGF5TN7TQNJJ4PA5CNFSM4I47R66KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOUPAY#issuecomment-538789763",
"url": "https://github.com/geany/geany-plugins/pull/916?email_source=notifications\u0026email_token=AAIOWJ763ISVNLIMGF5TN7TQNJJ4PA5CNFSM4I47R66KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOUPAY#issuecomment-538789763",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>