Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b5108191 authored by Michael Hoisie's avatar Michael Hoisie
Browse files

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
parent 9adccca5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment