<p>rpm-4.15.0/plugins/selinux.c:146:8: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition]</p>
<p>Source code is</p>
<p>if ((xx = setexecfilecon(path, "rpm_script_t") == 0))</p>
<p>Maybe better code:</p>
<p>if ((xx = setexecfilecon(path, "rpm_script_t")) == 0)</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/rpm-software-management/rpm/issues/872?email_source=notifications&email_token=ADLPZUZMGI2B6ITBXE3AEPLQMBIZFA5CNFSM4I3RGFY2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOLNUHA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU2AYUCOGOG6LM73RIDQMBIZFANCNFSM4I3RGFYQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ADLPZU5F7RGJA5DSONJIG63QMBIZFA5CNFSM4I3RGFY2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOLNUHA.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/rpm-software-management/rpm/issues/872?email_source=notifications\u0026email_token=ADLPZUZMGI2B6ITBXE3AEPLQMBIZFA5CNFSM4I3RGFY2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOLNUHA",
"url": "https://github.com/rpm-software-management/rpm/issues/872?email_source=notifications\u0026email_token=ADLPZUZMGI2B6ITBXE3AEPLQMBIZFA5CNFSM4I3RGFY2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOLNUHA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>