Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f742864 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Liblog: Remove unused function

For build-system CFLAGS clean-up, remove unused function.

Change-Id: I8c28c4bbbadaea6a5b32483e9e220794967bdd4e
parent 7f187c5f
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -344,15 +344,6 @@ error:
    return -1;
}

static inline char * strip_end(char *str)
{
    char *end = str + strlen(str) - 1;

    while (end >= str && isspace(*end))
        *end-- = '\0';
    return str;
}

/**
 * Splits a wire-format buffer into an AndroidLogEntry
 * entry allocated by caller. Pointers will point directly into buf