]> sourceware.org Git - systemtap.git/commitdiff
Suppress empty builder error message
authorFelix Lu <flu@redhat.com>
Mon, 25 Jul 2016 20:58:43 +0000 (16:58 -0400)
committerFelix Lu <flu@redhat.com>
Mon, 25 Jul 2016 21:00:53 +0000 (17:00 -0400)
elaborate.cxx

index 9fa87f4857ad43e5f52e5f17e629b8c193136581..ad0d4c05aed31ffd403ff58254436223806c901c 100644 (file)
@@ -1080,7 +1080,7 @@ derive_probes (systemtap_session& s,
               semantic_error err(ERR_SRC, _("while resolving probe point"),
                                  loc->components[0]->tok, NULL, &e);
               // provide some details about which builders were tried
-              if (s.verbose > 0)
+              if (s.verbose > 0 && !builders.empty())
                 {
                   string msg;
                   for (auto it = builders.begin(); it != builders.end(); ++it)
This page took 0.034347 seconds and 5 git commands to generate.