View Single Post
I probably wrote that. Yes, it's intentional; it's an idiom for keeping listSize in sync with the allocated size of the list. Old C coding habits die hard.

Interesting that clang complains about it. gcc has some heuristics for when to complain about legal-but-possibly-erroneous code like that; clang's heuristics are presumably different.