Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove all indefinite variables
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 11 Aug 2008 12:04:44 +0000 (12:04 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 11 Aug 2008 12:04:44 +0000 (12:04 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5890 48e7efb5-ca39-0410-a469-dd3cf9ba447f

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