From cbcfcd0bdbdb2193dcb07fb24540720409048114 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Fri, 11 Dec 2015 14:21:29 +1100 Subject: 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 -- cgit v1.2.3