1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
$NetBSD: patch-bi,v 1.2 2006/03/02 19:56:24 wiz Exp $
SunPro says: void functions cannot return a value.
--- src/poly-quals.c.orig 2003-12-10 18:31:03.000000000 +0000
+++ src/poly-quals.c
@@ -1356,6 +1356,7 @@ static bool _leq_qual (qual q1, qual q2,
else
{
assert (0);
+ return FALSE;
}
}
@@ -1581,6 +1582,7 @@ static int _print_qual(printf_func pf, q
return 0;
default:
assert (0);
+ return 0;
}
}
@@ -2833,13 +2835,13 @@ static void _traverse_error_path_edges(q
void traverse_error_path_edges(qual q, bool expand_summaries, bool nonerrors,
edge_traverse_fn f, void *arg)
{
- return _traverse_error_path_edges (q, FALSE, expand_summaries, nonerrors, f, arg);
+ _traverse_error_path_edges (q, FALSE, expand_summaries, nonerrors, f, arg);
}
void cs_traverse_error_path_edges(qual q, bool expand_summaries, bool nonerrors,
edge_traverse_fn f, void *arg)
{
- return _traverse_error_path_edges (q, TRUE, expand_summaries, nonerrors, f, arg);
+ _traverse_error_path_edges (q, TRUE, expand_summaries, nonerrors, f, arg);
}
/**************************************************************************
@@ -3016,7 +3018,8 @@ static void _dn_dfs (FILE* f, region scr
if (root->link)
{
add_graph_edge (f, root, ecr_qual (root), "+", TRUE);
- return _dn_dfs (f, scratch, ecr_qual (root), depth, printed_edges);
+ _dn_dfs (f, scratch, ecr_qual (root), depth, printed_edges);
+ return;
}
scan_qual_edge_hashset (e, qess, root->u.var.lb)
|