Hi Emil,
On Wed, 29 Aug 2018 at 17:33, Emil Velikov wrote:
> On 29 August 2018 at 07:17, Daniel Stone wrote:
> > -static const struct sockaddr_un example_sockaddr_un;
> > +static struct sockaddr_un example_sockaddr_un;
> >
> > #define TOO_LONG (1 + sizeof example_sockaddr_un.sun_path)
> >
> > @
Hi Dan,
On 29 August 2018 at 07:17, Daniel Stone wrote:
> Clang will rightly point out that example_sockaddr_un in socket-test
> will get discarded from the compilation unit as it is completely unused.
> Put in a couple of lines which of no value other than stopping Clang
> from complaining.
>
>
Clang will rightly point out that example_sockaddr_un in socket-test
will get discarded from the compilation unit as it is completely unused.
Put in a couple of lines which of no value other than stopping Clang
from complaining.
Signed-off-by: Daniel Stone
---
tests/socket-test.c | 7 ++-
1