summaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-08 09:56:34 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-08 09:56:34 +0000
commita63f3f1ddc88d0ae5b07190d50d0be4bd3b8f639 (patch)
treea17874068ad233b00c1794a75fd882539e406fb6 /gcc/value-prof.c
parent8dff6663e81ef876a722aaf9d7f9c82363384a43 (diff)
downloadgcc-a63f3f1ddc88d0ae5b07190d50d0be4bd3b8f639.tar.gz
* value-prof.c (visit_hist, free_hist): Return 1 instead of 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121711 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index b03e6777ae8..2de51f63be1 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -354,7 +354,7 @@ visit_hist (void **slot, void *data)
debug_generic_stmt (hist->hvalue.stmt);
error_found = true;
}
- return 0;
+ return 1;
}
/* Verify sanity of the histograms. */
@@ -406,7 +406,7 @@ free_hist (void **slot, void *data ATTRIBUTE_UNUSED)
memset (hist, 0xab, sizeof (*hist));
#endif
free (hist);
- return 0;
+ return 1;
}
void