Merge "Remove unreachable condition" am: a281389bf4
am: 061759246c
am: 7a4070ca95
Change-Id: I9431f46a90cd1b08569a2413ab5ecc0699a0f880
This commit is contained in:
commit
42d12f82bc
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue