diff options
author | Pei-Hsuan Hung <afcidk@gmail.com> | 2021-06-04 11:33:39 +0800 |
---|---|---|
committer | Michael Grunder <michael.grunder@gmail.com> | 2022-08-30 11:41:59 -0700 |
commit | 9e174e8f7d134fea69b0afd7e36443009b83badf (patch) | |
tree | c88b3b1804f32adbe8b176a3cc9c0f3469433d0f /sdsalloc.h | |
parent | 4ad99c69a21edb80f960877fccf9f9e13073ef30 (diff) |
Add do while(0) protection for macros
Wrapping multi-line macros in do...while(0) statement prevents
potential dangling else problem.
Diffstat (limited to 'sdsalloc.h')
0 files changed, 0 insertions, 0 deletions