this prevents warnings like 'control reaches end of non-void function'.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: M1cha <[email protected]>
---
 StdLib/Include/assert.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/StdLib/Include/assert.h b/StdLib/Include/assert.h
index ece4f27..8369f25 100644
--- a/StdLib/Include/assert.h
+++ b/StdLib/Include/assert.h
@@ -52,7 +52,7 @@ __BEGIN_DECLS
                   the application was launched from.
 **/
 extern void
-__assert(const char *file, const char *func, int line, const char
*failedexpr);
+__assert(const char *file, const char *func, int line, const char
*failedexpr) __noreturn;

 __END_DECLS

-- 
2.7.0
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to