alsa-utils/axfer/test
Takashi Sakamoto 0248c29757 axfer/test: fix uninitialized warning
This commit fixes uninitialized return value from a call of test_vector()
to suppress a warning below.

gcc -DHAVE_CONFIG_H -I. -I../../include     -O2 -Wall -pipe -g -MT mapper-test.o -MD -MP -MF .deps/mapper-test.Tpo -c -o mapper-test.o mapper-test.c
mapper-test.c: In function ‘test_vector’:
mapper-test.c:293:6: warning: ‘err’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  int err;
      ^~~

Fixes: 39d1ab8a0c: ('axfer: add a unit test for mapper interface')
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2019-05-07 08:32:53 +02:00
..
container-test.c axfer: add unit test for container interface 2018-11-13 12:04:25 +01:00
generator.c axfer: add unit test for container interface 2018-11-13 12:04:25 +01:00
generator.h axfer: add unit test for container interface 2018-11-13 12:04:25 +01:00
Makefile.am axfer: add missing header file of unit test to distribution 2019-01-29 16:48:00 +01:00
mapper-test.c axfer/test: fix uninitialized warning 2019-05-07 08:32:53 +02:00