[OpenSIPS-Devel] [OpenSIPS/opensips] 752b45: Dauth parser tests: Fix compile warning

Liviu Chircu noreply at github.com
Mon Apr 5 10:45:40 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 752b457d56316fb40081008d1f28f8429fb29009
      https://github.com/OpenSIPS/opensips/commit/752b457d56316fb40081008d1f28f8429fb29009
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-04-05 (Mon, 05 Apr 2021)

  Changed paths:
    M parser/test/test_parse_authenticate_body.c

  Log Message:
  -----------
  Dauth parser tests: Fix compile warning

Compiling parser/test/test_parser.c
parser/test/test_parse_authenticate_body.c:90:2: warning: missing
initializer for field ‘tres’ of ‘const struct tts’ [-Wmissing-field-initializers]
   90 |  }
      |  ^
parser/test/test_parse_authenticate_body.c:35:6: note: ‘tres’ declared here
   35 |  int tres;
      |      ^~~~

...using gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0





More information about the Devel mailing list