Fix warning codes in Easysetup
[platform/upstream/iotivity.git] / service / easy-setup / enrollee / src / resourcehandler.c
index 2fcf719..733904b 100755 (executable)
@@ -88,7 +88,7 @@ bool CompareResourceInterface(char *from, char *iface)
             }
         }
 
-    } while (ptr = strtok(NULL, ";"));
+    } while ((ptr = strtok(NULL, ";")));
 
     return false;
 }