am7xxx: don't use partial designated initializers
authorAntonio Ospite <ao2@ao2.it>
Thu, 8 May 2014 09:37:34 +0000 (11:37 +0200)
committerAntonio Ospite <ao2@ao2.it>
Thu, 8 May 2014 09:39:31 +0000 (11:39 +0200)
commit701cb208fb160d2f14aff1b9cd425c481e2b003a
tree962f1d74d1675a99ef4e96171f8d8cdc8a5f301d
parent74fbc97d04c4321dd94790f96e951e2fd2c14664
am7xxx: don't use partial designated initializers

Compilers may warn about missing fields in initializers when more checks
are enabled with STRICT_COMPILATION_CHECKS=ON:

  .../src/am7xxx.c:1131:31: error: missing field 'direction' initializer [-Werror,-Wmissing-field-initializers]
          struct am7xxx_header h = { 0 };
                                       ^
  1 error generated.
src/am7xxx.c