Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I don't think it does what it should now but at least it looks better and
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 20 Mar 2006 14:36:33 +0000 (14:36 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 20 Mar 2006 14:36:33 +0000 (14:36 +0000)
makes gcc happy... :)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1958 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/gras/p2p/chord/chord.c

index 3042c2f..aa8d848 100644 (file)
@@ -146,8 +146,8 @@ static int closest_preceding_node(int id){
                if(globals->finger[i].id>globals->id&&globals->finger[i].id<id){
                        return(i);
                }
-       return(i);
        }
+       return i;
 }