summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2016-06-16 15:28:09 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2016-06-16 15:28:09 -0700
commitf500d83ca43e214ca639da376fa20c4cf643221f (patch)
tree2b1a8b3a00428e0a7b17a1e56f63f672e9b05894
parentfd2b1a6be993a07b24eebb446220ef8b236dd68e (diff)
downloadnasm-f500d83ca43e214ca639da376fa20c4cf643221f.tar.gz
preproc.c: fix assignment incorrectly coded as ==
Assignment is = not ==. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--preproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/preproc.c b/preproc.c
index 0cefa7d7..8400773b 100644
--- a/preproc.c
+++ b/preproc.c
@@ -1543,7 +1543,7 @@ static FILE *inc_fopen(const char *file, StrList **dhead, StrList ***dtail,
if (found_path != NULL && *found_path != NULL) {
nasm_free(*found_path);
- *found_path == NULL;
+ *found_path = NULL;
}
if (!ip) {