Safe string: returns "" if NULL. */
| 175 | |
| 176 | /* Safe string: returns "" if NULL. */ |
| 177 | static const char *safe_str(const char *s) { |
| 178 | return s ? s : ""; |
| 179 | } |
| 180 | |
| 181 | /* Safe properties: returns "{}" if NULL. */ |
| 182 | static const char *safe_props(const char *s) { |
no outgoing calls
no test coverage detected