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

Commit a2723e0f authored by Mark Salyzyn's avatar Mark Salyzyn Committed by Gerrit Code Review
Browse files

Merge "libsysutils: turn on -Werror"

parents f3661cc2 9418fd18
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ LOCAL_MODULE:= libsysutils

LOCAL_C_INCLUDES :=

LOCAL_CFLAGS :=
LOCAL_CFLAGS := -Werror

LOCAL_SHARED_LIBRARIES := libcutils liblog

+1 −2
Original line number Diff line number Diff line
@@ -92,7 +92,6 @@ void FrameworkListener::dispatchCommand(SocketClient *cli, char *data) {
    char *qlimit = tmp + sizeof(tmp) - 1;
    bool esc = false;
    bool quote = false;
    int k;
    bool haveCmdNum = !mWithSeq;

    memset(argv, 0, sizeof(argv));
@@ -166,7 +165,7 @@ void FrameworkListener::dispatchCommand(SocketClient *cli, char *data) {
        goto overflow;
    argv[argc++] = strdup(tmp);
#if 0
    for (k = 0; k < argc; k++) {
    for (int k = 0; k < argc; k++) {
        SLOGD("arg[%d] = '%s'", k, argv[k]);
    }
#endif
+0 −1
Original line number Diff line number Diff line
@@ -399,7 +399,6 @@ bool NetlinkEvent::parseAsciiNetlinkMessage(char *buffer, int size) {
    const char *s = buffer;
    const char *end;
    int param_idx = 0;
    int i;
    int first = 1;

    if (size == 0)