<p><b>@pmatilai</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/rpm-software-management/rpm/pull/828#discussion_r322198609">rpmio/expression.c</a>:</p>
<pre style='color:#555'>> @@ -110,6 +110,12 @@ typedef struct _parseState {
 static void exprErr(const struct _parseState *state, const char *msg,
                    const char *p)
 {
+    const char *s = state->str;
+
+    s = strchr(s,'\n');
</pre>
<p>Waste of perfectly good screen estate... Why not just<br>
<code>const char *s = strchr(state->str, '\n');</code></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/pull/828?email_source=notifications&email_token=ADLPZUZLDRIO6MU4MDN3OITQIYZ2DA5CNFSM4ITDTRX2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEB2CDI#pullrequestreview-285450509">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZUY64DGLMSJBUIOZL43QIYZ2DANCNFSM4ITDTRXQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ADLPZU543OJWIIMIWSQDDUTQIYZ2DA5CNFSM4ITDTRX2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEB2CDI.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/pull/828?email_source=notifications\u0026email_token=ADLPZUZLDRIO6MU4MDN3OITQIYZ2DA5CNFSM4ITDTRX2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEB2CDI#pullrequestreview-285450509",
"url": "https://github.com/rpm-software-management/rpm/pull/828?email_source=notifications\u0026email_token=ADLPZUZLDRIO6MU4MDN3OITQIYZ2DA5CNFSM4ITDTRX2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEB2CDI#pullrequestreview-285450509",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>