[OpenSIPS-Devel] [OpenSIPS/opensips] 2bea26: rtp_relay: Make gcc-10 happy (uninitialized struct)

Liviu Chircu noreply at github.com
Thu Jun 13 13:44:48 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2bea262208fe80008a8aa1a383bfa7fbaf11f633
      https://github.com/OpenSIPS/opensips/commit/2bea262208fe80008a8aa1a383bfa7fbaf11f633
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  -----------
  rtp_relay: Make gcc-10 happy (uninitialized struct)

if ((tv.flags & PV_VAL_STR) == 0) {
     ~~^~~~~~
    rtp_relay_ctx.c:2937:9: error: ‘tv.flags’ may be used uninitialized
        in this function [-Werror=maybe-uninitialized]



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list