mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
explcitly ignore return values of some functions marked with gcc's warn_unused_result attribute
This commit is contained in:
parent
845b312f44
commit
40d71e1f49
3 changed files with 4 additions and 4 deletions
|
|
@ -63,7 +63,7 @@ static void load(struct userdata *u) {
|
|||
char ln[256] = "";
|
||||
pa_sink *s;
|
||||
|
||||
fgets(ln, sizeof(ln)-1, f);
|
||||
(void) fgets(ln, sizeof(ln)-1, f);
|
||||
pa_strip_nl(ln);
|
||||
fclose(f);
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ static void load(struct userdata *u) {
|
|||
char ln[256] = "";
|
||||
pa_source *s;
|
||||
|
||||
fgets(ln, sizeof(ln)-1, f);
|
||||
(void) fgets(ln, sizeof(ln)-1, f);
|
||||
pa_strip_nl(ln);
|
||||
fclose(f);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue