[brasero] Silences a build warning



commit 7973e6a4b7cc04090d1c702e1fefb0c06f28420d
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Wed Jul 7 13:43:05 2010 +0200

    Silences a build warning

 plugins/cdrkit/burn-wodim.c      |    2 +-
 plugins/cdrtools/burn-cdrecord.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/cdrkit/burn-wodim.c b/plugins/cdrkit/burn-wodim.c
index 8660cf5..baae616 100644
--- a/plugins/cdrkit/burn-wodim.c
+++ b/plugins/cdrkit/burn-wodim.c
@@ -275,7 +275,7 @@ brasero_wodim_set_rate (BraseroProcess *process,
                         int speed_1,
                         int speed_2)
 {
-	gdouble current_rate;
+	gdouble current_rate = -1.0;
 	BraseroMedia media;
 
 	if (brasero_job_get_media (BRASERO_JOB (process), &media) != BRASERO_BURN_OK)
diff --git a/plugins/cdrtools/burn-cdrecord.c b/plugins/cdrtools/burn-cdrecord.c
index 9cee2d1..18638f6 100644
--- a/plugins/cdrtools/burn-cdrecord.c
+++ b/plugins/cdrtools/burn-cdrecord.c
@@ -264,7 +264,7 @@ brasero_cdrecord_set_rate (BraseroProcess *process,
                            int speed_1,
                            int speed_2)
 {
-	gdouble current_rate;
+	gdouble current_rate = -1.0;
 	BraseroMedia media;
 
 	if (brasero_job_get_media (BRASERO_JOB (process), &media) != BRASERO_BURN_OK)



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