diff --git a/nixd/lib/Controller/CheckReturn.h b/nixd/lib/Controller/CheckReturn.h index 011eefc51..a4331bbb1 100644 --- a/nixd/lib/Controller/CheckReturn.h +++ b/nixd/lib/Controller/CheckReturn.h @@ -6,7 +6,7 @@ #define CheckReturn(x, Ret) \ ({ \ decltype(x) temp = (x); \ - if (!temp) { \ + if (!temp) [[unlikely]] { \ return Ret; \ } \ temp; \