Searched hist:"40 efe672" (Results 1 – 2 of 2) sorted by relevance
/openbmc/slpd-lite/ |
H A D | sock_channel.cpp | 40efe672 Wed Jul 24 14:02:10 CDT 2024 Andrew Geissler <geissonator@yahoo.com> fix new gcc compile warnings about unused variables
The latest yocto has brought in a new gcc which is causing building of this repo due to fails like this:
``` slpd-lite/sock_channel.cpp:27:23: error: value computed is not used [-Werror=unused-value] | 27 | buffer outBuffer(0); | | ```
Fix this by just using the default vector constructor with no arguments (resulting in a empty container to start with).
Change-Id: If06dfccd2aa234956e124c11bd268198be569e6d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
H A D | slp_message_handler.cpp | 40efe672 Wed Jul 24 14:02:10 CDT 2024 Andrew Geissler <geissonator@yahoo.com> fix new gcc compile warnings about unused variables
The latest yocto has brought in a new gcc which is causing building of this repo due to fails like this:
``` slpd-lite/sock_channel.cpp:27:23: error: value computed is not used [-Werror=unused-value] | 27 | buffer outBuffer(0); | | ```
Fix this by just using the default vector constructor with no arguments (resulting in a empty container to start with).
Change-Id: If06dfccd2aa234956e124c11bd268198be569e6d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|