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