]> git.proxmox.com Git - mirror_edk2.git/commit
StdLib/LibC/gdtoa: fix "missing braces around initializer"
authorLaszlo Ersek <lersek@redhat.com>
Mon, 11 Aug 2014 21:59:53 +0000 (21:59 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 11 Aug 2014 21:59:53 +0000 (21:59 +0000)
commit599aa11f870264f6d86f3e1451afb6de07be1758
treec2d241877a8e6467576f7a3968255e9a3dd41c74
parent1be8039054d81cd5e5f602a6f3cd13a062cc2900
StdLib/LibC/gdtoa: fix "missing braces around initializer"

The member "u.L" is an array, and the current initializer triggers

  StdLib/LibC/gdtoa/strtof.c: In function '_strtof':
  StdLib/LibC/gdtoa/strtof.c:53:9: error: missing braces around
                                   initializer [-Werror=missing-braces]
  StdLib/LibC/gdtoa/strtof.c:53:9: error: (near initialization for
                                   'u.L') [-Werror=missing-braces]
  cc1: all warnings being treated as errors

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15785 6f19259b-4bc3-4df7-8a09-765794883524
StdLib/LibC/gdtoa/strtof.c