~ubuntu-branches/ubuntu/oneiric/simgrid/oneiric

« back to all changes in this revision

Viewing changes to src/surf/surf_routing.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Quinson
  • Date: 2011-06-16 15:56:18 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110616155618-2ug4jjvcct49s5gd
Tags: 3.6~rc3-1
* New upstream version: Third release candidate to 3.6
  - disable the tests that are not to be run in release settings
  - fix packaging issues, mainly impacting MacOS X users

Show diffs side-by-side

added added

removed removed

Lines of Context:
1179
1179
  current_src = xbt_dynar_get_ptr(path_src, index_src);
1180
1180
  current_dst = xbt_dynar_get_ptr(path_dst, index_dst);
1181
1181
  while (index_src >= 0 && index_dst >= 0 && *current_src == *current_dst) {
1182
 
    routing_component_t *tmp_src, *tmp_dst;
1183
 
    tmp_src = xbt_dynar_pop_ptr(path_src);
1184
 
    tmp_dst = xbt_dynar_pop_ptr(path_dst);
 
1182
    xbt_dynar_pop_ptr(path_src);
 
1183
    xbt_dynar_pop_ptr(path_dst);
1185
1184
    index_src--;
1186
1185
    index_dst--;
1187
1186
    current_src = xbt_dynar_get_ptr(path_src, index_src);