[alsa-devel] Undecalared Variable "p" when compile alsa-lib with TPLG_DEBUG defined
18 Dec
2019
18 Dec
'19
11:09 a.m.
alsa-project/alsa-lib issue #18 was opened from aiChaoSONG:
Undecalared Variable "p" when compile alsa-lib with TPLG_DEBUG defined, the pointer 'p' in line 152 of src/topology/data.c seem not declared. see code below. ``` static void dump_priv_data(struct tplg_elem *elem) { struct snd_soc_tplg_private *priv = elem->data; unsigned int i, j = 0;
tplg_dbg(" elem size = %d, priv data size = %d\n", elem->size, priv->size);
for (i = 0; i < priv->size; i++) { if (j++ % 8 == 0) tplg_dbg("\n");
*******tplg_dbg(" 0x%x", *p++);******* }
tplg_dbg("\n\n"); } ```
Issue URL : https://github.com/alsa-project/alsa-lib/issues/18 Repository URL: https://github.com/alsa-project/alsa-lib
1793
Age (days ago)
1793
Last active (days ago)
0 comments
1 participants
participants (1)
-
GitHub issues - opened