alsa-utils/axfer
Takashi Sakamoto 0b07c560f7 axfer/test: fix uninitialized warning
This commit fixes uninitialized return value from a call of test_mux() and
text_demux() to suppress warnings below:

$ make check
...
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_mapper’:
mapper-test.c:241:9: warning: ‘err’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  return err;
         ^~~
mapper-test.c:231:5: warning: ‘err’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  if (err < 0)
     ^

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:33:01 +02:00
..
test axfer/test: fix uninitialized warning 2019-05-07 08:33:01 +02:00
axfer-list.1 axfer: add a section to describe compatibility to aplay(1) 2018-12-07 10:55:01 +01:00
axfer-transfer.1 axfer: correct invalid usage of escape of itaric text 2019-01-29 16:44:42 +01:00
axfer.1 axfer: add a section about unit test 2019-01-29 16:43:09 +01:00
container-au.c axfer: add support for a container of Sparc AU format 2018-11-13 12:04:23 +01:00
container-raw.c axfer: add support for a container of raw data 2018-11-13 12:04:25 +01:00
container-riff-wave.c axfer: add support for a container of Microsoft/IBM RIFF/Wave format 2018-11-13 12:04:22 +01:00
container-voc.c axfer: Fix creation of v1.2 headers on big-endian systems 2019-05-07 08:28:31 +02:00
container.c axfer: coverity fixes 2019-03-13 14:42:42 +01:00
container.h axfer: Declare global variables as 'extern' in header 2019-05-07 08:30:25 +02:00
frame-cache.c axfer: coverity fixes 2019-03-13 14:42:42 +01:00
frame-cache.h axfer: add support for blocking data transmission operation of alsa-lib PCM API 2018-11-13 12:04:32 +01:00
main.c axfer: print help text of command entry 2018-12-07 10:56:10 +01:00
Makefile.am axfer: add a manual for transfer subcommand 2018-12-07 10:54:55 +01:00
mapper-multiple.c axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
mapper-single.c axfer: add support for a mapper for single target 2018-11-13 12:04:27 +01:00
mapper.c axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
mapper.h axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
misc.h axfer: add a parser for command-line options 2018-11-13 12:04:30 +01:00
subcmd-list.c axfer: print help text of list subcommand 2018-12-07 10:56:15 +01:00
subcmd-transfer.c axfer: truncate parsed arguments before operating subcommand 2018-12-05 15:23:50 +01:00
subcmd.h axfer: add a sub-command to transfer data frames 2018-11-13 12:04:33 +01:00
waiter-epoll.c axfer: add an implementation of waiter for epoll(7) 2018-11-13 12:04:51 +01:00
waiter-poll.c axfer: add an implementation of waiter for poll(2) 2018-11-13 12:04:50 +01:00
waiter-select.c axfer: allow to be compiled with glibc-2.11 or former 2019-01-29 16:45:51 +01:00
waiter.c axfer: add an implementation of waiter for epoll(7) 2018-11-13 12:04:51 +01:00
waiter.h axfer: add an implementation of waiter for epoll(7) 2018-11-13 12:04:51 +01:00
xfer-libasound-irq-mmap.c axfer: return back unsigned avail variable, do proper retype in xfer-libasound-irq-mmap.c 2019-03-13 14:51:22 +01:00
xfer-libasound-irq-rw.c axfer: add a common interface of waiter for I/O event notification 2018-11-13 12:04:48 +01:00
xfer-libasound-timer-mmap.c axfer: add support for timer-based scheduling model with MMAP operation 2018-11-13 12:04:51 +01:00
xfer-libasound.c axfer: print help for libasound backend 2019-01-02 11:24:47 +01:00
xfer-libasound.h axfer: add support for timer-based scheduling model with MMAP operation 2018-11-13 12:04:51 +01:00
xfer-libffado.c axfer: print help for libffado backend 2019-01-02 11:24:18 +01:00
xfer-options.c xfer: fix possible minor memory leak in xfer_options_parse_args() (coverity) 2019-03-13 17:21:16 +01:00
xfer.c axfer: enable each backend to print own help 2018-12-07 10:57:44 +01:00
xfer.h axfer: enable each backend to print own help 2018-12-07 10:57:44 +01:00