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

Commit a281389b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove unreachable condition"

parents fe6cc42d 141cceee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ static enum match_type identical(LogBufferElement* elem,

int LogBuffer::log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid,
                   pid_t tid, const char* msg, unsigned short len) {
    if ((log_id >= LOG_ID_MAX) || (log_id < 0)) {
    if (log_id >= LOG_ID_MAX) {
        return -EINVAL;
    }