make clang happy

SVN revision: 45151
This commit is contained in:
Sebastian Dransfeld 2010-01-14 23:48:37 +00:00
parent 6136509b9f
commit 25398b689f
1 changed files with 1 additions and 0 deletions

View File

@ -1211,6 +1211,7 @@ linux_apm_check(void)
bat_val = atoi(s1);
if (!strcmp(s3, "sec")) time_val = atoi(s2);
else if (!strcmp(s3, "min")) time_val = atoi(s2) * 60;
else time_val = 0;
fclose(f);
if ((bat_flags != 0xff) && (bat_flags & 0x80))