[PATCH 3/4] ctrl: Remember last 'rf_locked' control command

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Wed Sep 11 18:24:30 UTC 2013


On Wed, Sep 11, 2013 at 10:46:57AM +0200, Jacob Erlbeck wrote:

> +	rf->last_rf_lock_ctrl_command = talloc_asprintf(rf, "");

GCC warns about this:

bsc_rf_ctrl.c: In function ‘osmo_bsc_rf_create’:
bsc_rf_ctrl.c:507:2: warning: zero-length gnu_printf format string [-Wformat-zero-length]

the alternative is a strdup. I have modified it.






More information about the OpenBSC mailing list