summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMomtchil Momtchev <momtchil@momtchev.com>2023-04-14 10:25:45 +0200
committerMomtchil Momtchev <momtchil@momtchev.com>2023-04-14 10:25:45 +0200
commitd39cee1ce151fbe4920f0446b287835208104271 (patch)
treef062c4fa1d80acfefb17b8cd442e4bd09a879461 /Source
parent0ef8b7bf6ea1eab199b8687057575ad1b2d1609e (diff)
downloadswig-d39cee1ce151fbe4920f0446b287835208104271.tar.gz
suppress a warning
Diffstat (limited to 'Source')
-rw-r--r--Source/Preprocessor/cpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Preprocessor/cpp.c b/Source/Preprocessor/cpp.c
index 4af930d5d..b9ce54361 100644
--- a/Source/Preprocessor/cpp.c
+++ b/Source/Preprocessor/cpp.c
@@ -1280,7 +1280,7 @@ static DOH *Preprocessor_replace(DOH *s, DOH *line_file) {
Replaceall(fn, "\\", "\\\\");
Printf(ns, "\"%s\"", fn);
Delete(fn);
- } else if (m = Getattr(symbols, id)) {
+ } else if ((m = Getattr(symbols, id))) {
/* Yes. There is a macro here */
/* If it expects arguments, they must come from `line_file` */
DOH *args = 0;