diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-04-13 12:55:37 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-04-13 12:55:37 +0300 |
commit | 3a88f151c49f820ebb1589377958b397b1d9b96c (patch) | |
tree | 27e8574205506df23ca30d08c46006ac0fae19ae /intern | |
parent | 402845744f9de6f2ae08aaa80347323fe6ca5684 (diff) |
Cleanup: Proper printing of a string
Print it as a "%s" so that possible percentage symbols in the
error message does not cause issues.
Use proper assert (assert(true) is a no-op).
Also use `empty()` instead of `length()`.
Reviewed with Clement in real life.
Diffstat (limited to 'intern')
0 files changed, 0 insertions, 0 deletions