aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-08-15 06:51:43 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-08-18 06:30:09 +0200
commit93200fb123a0cca815ec50754c2bb3b5e475bf3b (patch)
tree41b22b2372df8dd345c934a7956a9e71f97e3d0b
parent49f7e13a7ac9a582d11e9c1ad01e71740f486601 (diff)
downloadsparse-93200fb123a0cca815ec50754c2bb3b5e475bf3b.tar.gz
remove unneeded predeclaration of evaluate_cast()
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>
-rw-r--r--evaluate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/evaluate.c b/evaluate.c
index 63a9390b..447020aa 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;