linux_inet_diag: avoid unnecessary sockaddr initialization
authorEric Wong <normalperson@yhbt.net>
Thu, 11 Apr 2013 23:39:08 +0000 (23:39 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 11 Apr 2013 23:43:31 +0000 (23:43 +0000)
commit602df28c6616a0724317e29bfc428ba06d1886e0
treef3ec72291bb615cba52d155801e4336a52492f8a
parent65a248c523ddbfa41ae1e1d6da0a7f71383428e2
linux_inet_diag: avoid unnecessary sockaddr initialization

This initialization was unnecessary and avoids the following
warning with -Wmissing-braces on gcc 4.7.2-5 on Debian testing:

  linux_inet_diag.c: In function ‘stats_for’:
  linux_inet_diag.c:192:8: warning: missing braces around initializer [-Wmissing-braces]
  linux_inet_diag.c:192:8: warning: (near initialization for ‘sa.ss’) [-Wmissing-braces]
ext/raindrops/linux_inet_diag.c