Skip to content
Commit efbb5946 authored by Andrew Geissler's avatar Andrew Geissler
Browse files

ensure fd initialized



New upstream yocto enforces stricter compile rules. Without this commit,
we get this error:

| ../git/oem/ibm/libpldmresponder/utils.cpp:62:9: error: 'fd' may be used uninitialized in this function [-Werror=maybe-uninitialized]
|    62 |     int fd;
|       |
| cc1plus: all warnings being treated as errors

Signed-off-by: default avatarAndrew Geissler <geissonator@yahoo.com>
Change-Id: Ie089dfbede0361963a90828ce6826e324285b50d
parent ce1c96fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment