From 8b883fe91bba05492e807e98d8467638c9858bca Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 31 Jul 2006 11:43:14 +0000 Subject: [PATCH] add code to supress warnings --- ir/be/bejavacoal.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ir/be/bejavacoal.c b/ir/be/bejavacoal.c index 64875f8ed..d367590cc 100644 --- a/ir/be/bejavacoal.c +++ b/ir/be/bejavacoal.c @@ -362,6 +362,7 @@ int java_coal_get_color(java_coal_t *c, int n) java_coal_t *java_coal_init(const char *graph_name, int n_nodes, int n_regs, int dbg_level) { assert(0 && "use --enable-jvm"); + return NULL; } void java_coal_destroy(java_coal_t *c) @@ -403,7 +404,8 @@ void java_coal_dump(java_coal_t *c, const char *fn) int java_coal_get_color(java_coal_t *c, int n) { assert(0 && "use --enable-jvm"); + return -1; } -#endif +#endif /* WITH_JVM */ -- 2.20.1