Enlightenment CVS committal
Author : englebass
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/battery
Modified Files:
batget.c
Log Message:
Fix compiler warnings.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/battery/batget.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- batget.c 4 Mar 2008 03:35:03 -0000 1.6
+++ batget.c 13 Mar 2008 19:13:36 -0000 1.7
@@ -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 @@
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 @@
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 @@
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;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs