[OpenSIPS-Devel] [OpenSIPS/opensips] 8da4b5: Reduce db_is_neq_type complexity

Walter Doekes noreply at github.com
Thu Jul 1 09:25:01 EST 2021


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8da4b56eb89fd304b92626a79526bf860c98f326
      https://github.com/OpenSIPS/opensips/commit/8da4b56eb89fd304b92626a79526bf860c98f326
  Author: Walter Doekes <walter+github at wjd.nu>
  Date:   2021-07-01 (Thu, 01 Jul 2021)

  Changed paths:
    M db/db_ut.c

  Log Message:
  -----------
  Reduce db_is_neq_type complexity

The code was correct, but overly verbose. Boil it down to the intention
and rely on the compiler to work its magic.

Reviewed-by: Liviu Chircu
(cherry picked from commit c381060f9b5f67d0a6792fc82d86450ad93501c6)





More information about the Devel mailing list