[OpenSIPS-Devel] [OpenSIPS/opensips] 8d7db1: Fix compiler warning

Liviu Chircu noreply at github.com
Fri Jan 17 10:55:33 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8d7db1522ae1eb979fcbb88699be9cbcf37238ec
      https://github.com/OpenSIPS/opensips/commit/8d7db1522ae1eb979fcbb88699be9cbcf37238ec
  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!





More information about the Devel mailing list