summaryrefslogtreecommitdiff
path: root/src/modules/module-default-device-restore.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-14 01:22:42 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-14 01:22:42 +0200
commit40d71e1f4914e021f321425a37825933b595a860 (patch)
tree054b5b02b94a8673f255eb3cc87f19f5f7392398 /src/modules/module-default-device-restore.c
parent845b312f4499eefe10a2be163ed8b5bc226b971d (diff)
explcitly ignore return values of some functions marked with gcc's warn_unused_result attribute
Diffstat (limited to 'src/modules/module-default-device-restore.c')
-rw-r--r--src/modules/module-default-device-restore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/module-default-device-restore.c b/src/modules/module-default-device-restore.c
index a25aafcbd..0092d1c7b 100644
--- a/src/modules/module-default-device-restore.c
+++ b/src/modules/module-default-device-restore.c
@@ -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);