Merge "Remove unreachable condition"
am: a281389bf4
Change-Id: I99e38d37f5fae3a71787eb6c63826c5fc57ba653
This commit is contained in:
commit
061759246c
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
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) {
|
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;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue