[OpenSIPS-Devel] [OpenSIPS/opensips] 376579: Fix compiler warning

Liviu Chircu liviu at opensips.org
Sat Jun 25 16:23:47 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 376579fa53abb6fc16de76a3070d082c9d958165
      https://github.com/OpenSIPS/opensips/commit/376579fa53abb6fc16de76a3070d082c9d958165
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2016-06-25 (Sat, 25 Jun 2016)

  Changed paths:
    M net/trans.c

  Log Message:
  -----------
  Fix compiler warning

Using gcc 4.8.4, we would get:

net/trans.c:43:2: warning: missing initializer for field ‘name’ of
‘struct proto_info’ [-Wmissing-field-initializers]
  { }, /* PROTO_NONE */
    ^




More information about the Devel mailing list