@ffesti commented on this pull request.
> + return p->token;
+ }
+ }
+ return NULL;
+}
+
+static const int partBeforeBuildOnly(int part)
+{
+ const struct PartRec *p;
+
+ for (p = partList; p->token != NULL; p++) {
+ if (p->part == part) {
+ return p->beforebuildonly;
+ }
+ }
+ return 0;
Not sure if the new code is that more readable. But whatever...
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2917#discussion_r1514452432
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2917/review/1919713...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint