From 0e020132f8a81be70f6ba8841a183caec44d29e5 Mon Sep 17 00:00:00 2001 From: David Given Date: Mon, 12 Dec 2016 21:17:01 +0100 Subject: [PATCH] Fix a warning. --- modules/src/idf/idf_pkg.body | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/src/idf/idf_pkg.body b/modules/src/idf/idf_pkg.body index 8f970aef7..5d1260d75 100644 --- a/modules/src/idf/idf_pkg.body +++ b/modules/src/idf/idf_pkg.body @@ -123,7 +123,7 @@ struct idf* str2idf(char tg[], int cpy) int size; IDF_STARTHASH(hash); - while (c = *cp++) + while ((c = *cp++)) { IDF_ENHASH(hash, c); }