pmatilai commented on this pull request.


> @@ -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');

Waste of perfectly good screen estate... Why not just 
```const char *s = strchr(state->str, '\n');```



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/828#pullrequestreview-285450509
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to