I think this was intended to skip fields that have a NULL type. 
I've seen similar things (empty thrift struct) showing up in production code to act as a placeholder.
These don't have any data and don't need to be persisted.