diff mbox series

cleanup: remove unneeded predeclaration of evaluate_cast()

Message ID 20200815134511.98842-1-luc.vanoostenryck@gmail.com (mailing list archive)
State Mainlined, archived
Headers show
Series cleanup: remove unneeded predeclaration of evaluate_cast() | expand

Commit Message

Luc Van Oostenryck Aug. 15, 2020, 1:45 p.m. UTC
evaluate_cast() is predeclared in the middle of the file but
is not used before it's defined.

So, remove this unneeded predeclaration.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 evaluate.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/evaluate.c b/evaluate.c
index 63a9390b5ee7..447020aa7fe4 100644
--- a/evaluate.c
+++ b/evaluate.c
@@ -2198,8 +2198,6 @@  static int is_promoted(struct expression *expr)
 }
 
 
-static struct symbol *evaluate_cast(struct expression *);
-
 static struct symbol *evaluate_type_information(struct expression *expr)
 {
 	struct symbol *sym = expr->cast_type;