← Commit list

d07b20ff1

Denys Vlasenko
Denys Vlasenko
2010-08-10
FAILED Duration: 41s

Subject

rtc: remove useless code in "RTC is in UTC" detection

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/rtc.c+0 -7
@@ -22,13 +22,6 @@ int FAST_FUNC rtc_adjtime_is_utc(void)
char buffer[128];
while (fgets(buffer, sizeof(buffer), f)) {
- int len = strlen(buffer);
-
- while (len && isspace(buffer[len - 1]))
- len--;
-
- buffer[len] = 0;
-
if (strncmp(buffer, "UTC", 3) == 0) {
utc = 1;
break;