Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove all indefinite variables
[simgrid.git] / tools / tesh2 / src / fstream.c
index 0a8ef5e..c9e7f6c 100644 (file)
@@ -986,10 +986,10 @@ fstream_lex_line(fstream_t fstream, context_t context, xbt_os_mutex_t mutex, con
                \r
        }\r
        \r
-       p = line2 + 2;\r
-       \r
-       while(p && 1)\r
+       while(1)\r
        {\r
+               p = line2 + 2;\r
+               \r
                if((p = strchr(p, '$')))\r
                {\r
                        if(*(p+1) != ' ')\r