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

Liviu Chircu noreply at github.com
Fri Jan 17 10:56:07 EST 2020


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: be564b5b66e487231a2f8a4f8b4a6d2a762b9a10
      https://github.com/OpenSIPS/opensips/commit/be564b5b66e487231a2f8a4f8b4a6d2a762b9a10
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M mem/rpm_mem.h

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

mem/rpm_mem.h: In function 'rpm_status':
mem/rpm_mem.h:308:6: warning: the address of 'qm_status' will always
	evaluate as 'true' [-Waddress]
  if (!RPM_STATUS || !rpm_block)

Credits to Bogdan for the catch!

(cherry picked from commit 8d7db1522ae1eb979fcbb88699be9cbcf37238ec)





More information about the Devel mailing list