[Pkg-e-commits] [SCM] Enlightenment 17 branch, upstream-vcs, updated. a4f99cdaf59e45e3fa16746e0ae90039333bb158
englebass
englebass at alioth.debian.org
Fri Mar 21 14:51:37 UTC 2008
The following commit has been merged in the upstream-vcs branch:
commit 603de2b8898bef3a5c2399013b9977d3eae54bee
Author: englebass <englebass>
Date: Thu Mar 13 19:13:36 2008 +0000
Fix compiler warnings.
diff --git a/src/modules/battery/batget.c b/src/modules/battery/batget.c
index 1ea030a..1256989 100644
--- a/src/modules/battery/batget.c
+++ b/src/modules/battery/batget.c
@@ -34,7 +34,6 @@
#define CHECK_SYS_CLASS_POWER_SUPPLY 4
static void init(void);
-static int check(void);
static int poll_cb(void *data);
static int poll_interval = 512;
@@ -490,7 +489,6 @@ linux_sys_class_power_supply_cb_event_fd_active(void *data, Ecore_Fd_Handler *fd
static void
linux_sys_class_power_supply_sysev_init(Sys_Class_Power_Supply_Uevent *sysev)
{
- char *name;
char buf[4096];
sysev->basis = 0;
@@ -1108,9 +1106,8 @@ static void
linux_apm_check(void)
{
FILE *f;
- char s[256], s1[32], s2[32], s3[32], buf[4096];
+ char s[256], s1[32], s2[32], s3[32];
int apm_flags, ac_stat, bat_stat, bat_flags, bat_val, time_val;
- int hours, minutes;
battery_full = -1;
time_left = -1;
@@ -1214,8 +1211,6 @@ linux_pmu_check(void)
int flags = 0;
int charge = 0;
int max_charge = 0;
- int current = 0;
- int timeleft = 0;
int voltage = 0;
int seconds = 0;
int curcharge = 0;
--
Enlightenment 17
More information about the Pkg-e-commits
mailing list