Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Staging:A
alsa
0068-topology-pcm-Remove-unused-variables.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0068-topology-pcm-Remove-unused-variables.patch of Package alsa
From 9a2fe5399c6ff987fe4e23907c6467c3d2baa307 Mon Sep 17 00:00:00 2001 From: Takashi Iwai <tiwai@suse.de> Date: Tue, 8 Sep 2015 22:15:02 +0200 Subject: [PATCH] topology: pcm: Remove unused variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix gcc warnings: pcm.c: In function ‘tplg_parse_stream_cfg’: pcm.c:160:6: warning: unused variable ‘ret’ [-Wunused-variable] int ret; ^ pcm.c: In function ‘split_format’: pcm.c:267:13: warning: unused variable ‘ret’ [-Wunused-variable] int i = 0, ret; ^ Signed-off-by: Takashi Iwai <tiwai@suse.de> --- src/topology/pcm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/topology/pcm.c b/src/topology/pcm.c index 6e42aa18b99b..18d5f0b1b040 100644 --- a/src/topology/pcm.c +++ b/src/topology/pcm.c @@ -157,7 +157,6 @@ static int tplg_parse_stream_cfg(snd_tplg_t *tplg ATTRIBUTE_UNUSED, struct snd_soc_tplg_stream *stream; const char *id, *val; snd_pcm_format_t format; - int ret; snd_config_get_id(cfg, &id); @@ -264,7 +263,7 @@ static int split_format(struct snd_soc_tplg_stream_caps *caps, char *str) { char *s = NULL; snd_pcm_format_t format; - int i = 0, ret; + int i = 0; s = strtok(str, ","); while ((s != NULL) && (i < SND_SOC_TPLG_MAX_FORMATS)) { -- 2.5.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor