Ensure curly-braces around control-flow
[folly.git] / folly / io / IOBufQueue.h
index d4201fbaa315e3adfbf114c213fa129c6fc24c0d..c801920d34f793cd9e60608af254207652657564 100644 (file)
@@ -298,7 +298,9 @@ class IOBufQueue {
 
  private:
   IOBuf* tailBuf() const {
-    if (UNLIKELY(!head_)) return nullptr;
+    if (UNLIKELY(!head_)) {
+      return nullptr;
+    }
     IOBuf* buf = head_->prev();
     return LIKELY(!buf->isSharedOne()) ? buf : nullptr;
   }