mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-15 05:30:37 +08:00
[misc]: Fix a few compile warnings and errors
Reported by llvm-clang. Change-Id: I62f22fe5754d3e8d77405d213c81fda5d9f5e27d Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
@@ -88,7 +88,7 @@ void MppTraceService::trace_write(const char *fmt, ...)
|
||||
len = vsnprintf(buf, sizeof(buf) - 1, fmt, ap);
|
||||
va_end(ap);
|
||||
|
||||
write(mTraceFd, buf, len);
|
||||
(void)!write(mTraceFd, buf, len);
|
||||
}
|
||||
|
||||
void MppTraceService::trace_begin(const char* name)
|
||||
|
Reference in New Issue
Block a user