summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index c8742fbd..615ba07b 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -1761,7 +1761,7 @@ struct dwflpp
if (sidx == nscopes)
nscopes = dwarf_getscopes_die (scope_die, &scopes);
- if (nscopes == 0)
+ if (nscopes <= 0)
{
throw semantic_error ("unable to find any scopes containing "
+ lex_cast_hex<string>(pc)