commit | b5108191c34140478ef3a6cd06e04fad639dcb96 | [log] [tgz] |
---|---|---|
author | Michael Hoisie <hoisie@google.com> | Thu May 14 16:01:10 2020 -0700 |
committer | Michael Hoisie <hoisie@google.com> | Thu May 14 20:05:17 2020 -0400 |
tree | 1343f8c6a9e30b9e25cefd448f143b8827e837cc | |
parent | 9adccca5dd6186173b5049996e55e1d637dc44a6 [diff] |
Add null check for fgets in BufferQueueCore When compiling BufferQueueCore for host linux, the following warning/error occurs: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] Add a simple null check to avoid this error. This is a no-op in terms of functionality. Bug: 156675939 Test: m -j libgui Change-Id: I460731ebaf0272fd5376f244e65b763da44e14f0