Attention is currently required from: laforge, pespin.
Timur Davydov has posted comments on this change by Timur Davydov. ( https://gerrit.osmocom.org/c/osmo-bts/+/42690?usp=email )
Change subject: build: make sched_* usage optional ......................................................................
Patch Set 7:
(1 comment)
File src/common/main.c:
https://gerrit.osmocom.org/c/osmo-bts/+/42690/comment/0decc337_30c25d4e?usp=... : PS6, Line 314: #ifdef HAVE_SCHED_SETSCHEDULER
since rt_prio can't be set by command line above, this if block cannot be ever entered. […]
You are right. Since rt_prio cannot be set in this configuration, the condition can never be true. I will move the #ifdef to cover the entire `if (rt_prio != -1)` block, including the declaration of `rt_prio` itself.