summaryrefslogtreecommitdiffstats
path: root/app/logfile/VideoLog.qml
diff options
context:
space:
mode:
authorLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-08-26 21:29:31 +0800
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-08-28 14:51:39 +0000
commitee6c0cc56304467061f9a60f3f96d07d741f327f (patch)
tree0f0fc61742662bdb603cde448dd6e93db3c89788 /app/logfile/VideoLog.qml
parent9423094e94babea121d39cdb66123ccac48a2c65 (diff)
If read() fails, it returns -1. It will generate unpredictable result when compare -1 and sizeof()'s size_t(unsigned) value. By the way, cast “ssize_t” to “size_t” to slience the warning. Bug-AGL:SPEC-2422 Change-Id: Ib56c1ebbcaaac48600a6747d5cc013c407dc14dd Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Diffstat (limited to 'app/logfile/VideoLog.qml')
0 files changed, 0 insertions, 0 deletions