[OpenSIPS-Devel] [OpenSIPS/opensips] 0c709f: Fix compiler warning

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


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0c709f9f7d18728098563eca4f4459db1b25eef3
      https://github.com/OpenSIPS/opensips/commit/0c709f9f7d18728098563eca4f4459db1b25eef3
  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