[rtems-source-builder commit] Remove the warning when undefining an undefined macro.

Chris Johns chrisj at rtems.org
Fri Dec 11 05:39:15 UTC 2015


Module:    rtems-source-builder
Branch:    master
Commit:    27a934e46c340c27e82d8f3857feb91dadb6ae99
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=27a934e46c340c27e82d8f3857feb91dadb6ae99

Author:    Chris Johns <chrisj at rtems.org>
Date:      Fri Dec 11 14:21:29 2015 +1100

Remove the warning when undefining an undefined macro.

---

 source-builder/sb/config.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py
index 127112b..441ce6c 100644
--- a/source-builder/sb/config.py
+++ b/source-builder/sb/config.py
@@ -710,8 +710,6 @@ class file:
             mn = self._label(ls[1])
             if mn in self.macros:
                 del self.macros[mn]
-            else:
-                log.warning("macro '%s' not defined" % (mn))
 
     def _ifs(self, config, ls, label, iftrue, isvalid, dir, info):
         in_iftrue = True




More information about the vc mailing list