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.



Reply via email to