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

Liviu Chircu liviu at opensips.org
Sat Jun 25 16:24:34 CEST 2016


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 055730a1000900a4812b7ab7bb320619ef3981b5
      https://github.com/OpenSIPS/opensips/commit/055730a1000900a4812b7ab7bb320619ef3981b5
  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 */
    ^

(cherry picked from commit 376579fa53abb6fc16de76a3070d082c9d958165)




More information about the Devel mailing list