Skip to content

Update rsensor.c: drop is_error macro definition.

New json-c 13.1 removed bits.h inclusion, deprecating de facto all the definitions inside. is_error is defined as "#define is_error(ptr) (ptr == NULL)"

in this case, double checking the same pointer is just useless, remove it. Also simplify the double obj check in remote_psensor_update because obj can't change between the first and the second check

Merge request reports

Loading