osmo-bts/src/osmo-bts-octphy
Pau Espin 3f5a343098 octphy: Fix clearly wrong noop assignment
This code has been there since first octphy support was added.
New gcc 13.1.1 is catching this and reporting compilation errors:
"""
/osmo-bts/src/osmo-bts-octphy/l1_oml.c: In function ‘ts_connect_as’:
/osmo-bts/src/osmo-bts-octphy/l1_oml.c:1518:60: error: ‘oc’ is used uninitialized [-Werror=uninitialized]
 1518 |         tOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_CMD *oc =
      |                                                            ^~
/osmo-bts/src/osmo-bts-octphy/l1_oml.c:1518:60: note: ‘oc’ was declared here
 1518 |         tOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_CMD *oc =
      |                                                            ^~
/osmo-bts/src/osmo-bts-octphy/l1_oml.c: In function ‘bts_model_ts_disconnect’:
/osmo-bts/src/osmo-bts-octphy/l1_oml.c:1803:62: error: ‘oc’ is used uninitialized [-Werror=uninitialized]
 1803 |         tOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_CMD *oc =
      |                                                              ^~
/osmo-bts/src/osmo-bts-octphy/l1_oml.c:1803:62: note: ‘oc’ was declared here
 1803 |         tOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_CMD *oc =
      |                                                              ^~
"""
Change-Id: I0da7d3a94e9eba15b8d3d3d995bba532170d9df7
2023-05-04 14:48:57 +02:00
..
Makefile.am Depend on libosmo-netif 2022-09-06 09:14:40 +02:00
l1_if.c cosmetic: Change LOGPLCFN argument order 2023-04-09 14:10:09 +00:00
l1_if.h octphy: integrate channel measurement handling 2017-05-29 11:11:35 +00:00
l1_oml.c octphy: Fix clearly wrong noop assignment 2023-05-04 14:48:57 +02:00
l1_oml.h Constify the 'trx' argument of trx_get_hlayer1() everywhere 2020-08-03 02:08:14 +07:00
l1_tch.c cosmetic: Change LOGPLCFN argument order 2023-04-09 14:10:09 +00:00
l1_utils.c octphy: complete value strings (octphy_cid_vals) 2017-07-04 13:36:24 +00:00
l1_utils.h l1_utils.h: Avoid redefinition of global vars defined in l1_utils.c 2020-05-19 20:31:50 +00:00
main.c main: separate model-specific arguments in help 2020-10-24 05:08:42 +07:00
octphy_hw_api.c cosmetic: Replace %i with %d 2023-03-28 12:44:22 +00:00
octphy_hw_api.h octphy: integrate octasics latest header release 2018-04-09 08:29:20 +00:00
octphy_vty.c vty: call bts_model_vty_init() from bts_vty_init() 2020-11-02 18:08:24 +00:00
octpkt.c Fix common misspellings and typos 2019-10-17 08:05:35 +00:00
octpkt.h Add support for Octasic OCTSDR-2G GSM PHY 2016-01-16 17:23:10 +01:00