diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-03-15 12:13:41 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-03-15 12:31:13 +0200 |
commit | 22de481db334fcce404cdcf88183cd544cd19271 (patch) | |
tree | ace84973d12e85e19bb35377704456dab4bb7153 /compilerplugins/clang/pahole-all-classes.py | |
parent | bbf9b65f91e8136fa1a2e17960944b8720f5d58e (diff) |
Don't return an empty C string, the caller is not prepared for that
If the caller receives a pointer to an empty C string, it will send
the message "commandvalues: " to the JavaScript bits. That will cause
an exception as it expects JSON after the commandvalues: keyword.
Instead return a nullptr. The caller is prepared to handle that.
Change-Id: Ia1efa967668ba518993edb7945f064758b660b96
Diffstat (limited to 'compilerplugins/clang/pahole-all-classes.py')
0 files changed, 0 insertions, 0 deletions