Commit 8790bb34 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

cleanup: Remove pointless assert().

parent 11a8a515
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
#define FIRM_TV_TV_T_H #define FIRM_TV_TV_T_H
#include "firm_common.h" #include "firm_common.h"
#include <assert.h>
#include "irmode.h" #include "irmode.h"
#include "tv.h" #include "tv.h"
...@@ -69,7 +67,6 @@ struct ir_tarval { ...@@ -69,7 +67,6 @@ struct ir_tarval {
*/ */
static inline ir_mode *_get_tarval_mode(const ir_tarval *tv) static inline ir_mode *_get_tarval_mode(const ir_tarval *tv)
{ {
assert(tv);
return tv->mode; return tv->mode;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment