message: Added brackets around if statements and tests for NULL.
diff: @@ -18,17 +18,19 @@ struct SuffixOperator {
  static bool suffix(const string_t &str, const string_t &suffix) {
  auto suffix_size = suffix.GetSize();
  auto str_size = str.GetSize();
  - if(suffix_size > str_size)
  + if(suffix_size > str_size) {
  return false;
  + }
  auto suffix_data = suffix.GetData();
  auto str_data = str.GetData();
  int32_t suf_idx = suffix_size - 1;
  idx_t str_idx = str_size - 1;
  for(; suf_idx >= 0; --suf_idx, --str_idx) {
  - if(suffix_data[suf_idx] != str_data[str_idx])
  + if(suffix_data[suf_idx] != str_data[str_idx]) {
  return false;
  }
  + }
  return true;
  }
  