[brasero] Remove useless operation



commit 623c1a23f00281d04ec9c86a29854eddcfa0bb87
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Mon Oct 12 09:46:03 2009 +0200

    Remove useless operation

 libbrasero-burn/brasero-burn.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/libbrasero-burn/brasero-burn.c b/libbrasero-burn/brasero-burn.c
index ecfe138..d699bf0 100644
--- a/libbrasero-burn/brasero-burn.c
+++ b/libbrasero-burn/brasero-burn.c
@@ -2561,11 +2561,9 @@ again:
 	if (result != BRASERO_BURN_OK)
 		return result;
 
-	/* update the flags now before locking it since in lock function
-	 * we check the adequacy of the medium inserted. */
-	result = brasero_burn_check_session_consistency (burn, error);
-	if (result == BRASERO_BURN_CANCEL)
-		return result;
+	/* Note: we don't need to update the flags anymore
+	 * as they are updated in brasero_burn_run_tasks ()
+	 * anyway. */
 
 	if (result != BRASERO_BURN_OK) {
 		/* Tell the user his/her disc is not supported and reload */



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