[rtems-source-builder commit] Remove the warning when undefining an undefined macro.
Chris Johns
chrisj at rtems.org
Fri Dec 11 05:27:11 UTC 2015
Module: rtems-source-builder
Branch: 4.11
Commit: cbcfcd0bdbdb2193dcb07fb24540720409048114
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=cbcfcd0bdbdb2193dcb07fb24540720409048114
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