The style in the rest of libHSPlasma is to use braces on both sides of an else or else if, even if one side only has one line.  Only when all segments are one-liners should braces be omitted.