[brasero/wip/davidk/compiler-warnings: 5/5] Remove unused return value




commit 090d65a6dc0e8d6edc1650e62546878a5fc04340
Author: David King <amigadave amigadave com>
Date:   Tue Oct 19 15:55:07 2021 +0100

    Remove unused return value
    
    https://gitlab.gnome.org/GNOME/brasero/-/issues/332

 plugins/libburnia/burn-libisofs.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/plugins/libburnia/burn-libisofs.c b/plugins/libburnia/burn-libisofs.c
index 841468a7..96c0120d 100644
--- a/plugins/libburnia/burn-libisofs.c
+++ b/plugins/libburnia/burn-libisofs.c
@@ -388,12 +388,11 @@ brasero_libisofs_create_volume_thread_finished (gpointer data)
 
        brasero_job_get_action (BRASERO_JOB (self), &action);
        if (action == BRASERO_JOB_ACTION_IMAGE) {
-               BraseroBurnResult result;
                GError *error = NULL;
 
-               result = brasero_libisofs_create_image (self, &error);
+               brasero_libisofs_create_image (self, &error);
                if (error)
-               brasero_job_error (BRASERO_JOB (self), error);
+                       brasero_job_error (BRASERO_JOB (self), error);
                else
                        return FALSE;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]