[nautilus-ideviceinfo/gtk3] Remove unused 'otherusage' variable
- From: Martin Szulecki <mszulecki src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-ideviceinfo/gtk3] Remove unused 'otherusage' variable
- Date: Wed, 24 Dec 2014 15:43:02 +0000 (UTC)
commit 52c6038581e1092102fd1c44294a392a90c562ec
Author: Christophe Fergeau <cfergeau redhat com>
Date: Thu Dec 11 15:37:05 2014 +0100
Remove unused 'otherusage' variable
src/ideviceinfo-property-page.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/ideviceinfo-property-page.c b/src/ideviceinfo-property-page.c
index 039bfe3..5374a75 100644
--- a/src/ideviceinfo-property-page.c
+++ b/src/ideviceinfo-property-page.c
@@ -492,7 +492,6 @@ end_phone:
uint64_t data_free = 0;
uint64_t camera_usage = 0;
uint64_t app_usage = 0;
- uint64_t other_usage = 0;
uint64_t disk_total = 0;
dict = msg->disk_usage;
@@ -527,8 +526,6 @@ end_phone:
g_free(markup);
if (data_total > 0) {
- other_usage = (data_total - data_free) - (msg->audio_usage + msg->video_usage + camera_usage
+ app_usage);
-
double percent_free = ((double)data_free/(double)data_total);
double percent_audio = ((double)msg->audio_usage/(double)data_total);
double percent_video = ((double)msg->video_usage/(double)data_total);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]