COIN-OR::LEMON - Graph Library

Changeset 1416:f179aa1045a4 in lemon for test/adaptors_test.cc


Ignore:
Timestamp:
11/01/18 11:27:05 (21 months ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Children:
1417:2236d00ca778, 1422:332eab7995fe
Phase:
public
Message:

Suppress unused typdef warnings (#615)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/adaptors_test.cc

    r1270 r1416  
    146146  // Check the conversion of nodes and arcs
    147147  Digraph::Node nd = n4;
     148  ::lemon::ignore_unused_variable_warning(nd);
    148149  nd = n4;
    149150  Adaptor::Node na = n1;
     151  ::lemon::ignore_unused_variable_warning(na);
    150152  na = n2;
    151153  Digraph::Arc ad = a4;
     154  ::lemon::ignore_unused_variable_warning(ad);
    152155  ad = a5;
    153156  Adaptor::Arc aa = a1;
     157  ::lemon::ignore_unused_variable_warning(aa);
    154158  aa = a2;
    155159}
     
    270274  // Check the conversion of nodes and arcs
    271275  Digraph::Node nd = n3;
     276  ::lemon::ignore_unused_variable_warning(nd);
    272277  nd = n3;
    273278  Adaptor::Node na = n1;
     279  ::lemon::ignore_unused_variable_warning(na);
    274280  na = n2;
    275281  Digraph::Arc ad = a3;
     282  ::lemon::ignore_unused_variable_warning(ad);
    276283  ad = a3;
    277284  Adaptor::Arc aa = a1;
     285  ::lemon::ignore_unused_variable_warning(aa);
    278286  aa = a2;
    279287}
     
    366374  // Check the conversion of nodes and arcs
    367375  Digraph::Node nd = n3;
     376  ::lemon::ignore_unused_variable_warning(nd);
    368377  nd = n3;
    369378  Adaptor::Node na = n1;
     379  ::lemon::ignore_unused_variable_warning(na);
    370380  na = n2;
    371381  Digraph::Arc ad = a3;
     382  ::lemon::ignore_unused_variable_warning(ad);
    372383  ad = a3;
    373384  Adaptor::Arc aa = a1;
     385  ::lemon::ignore_unused_variable_warning(aa);
    374386  aa = a2;
    375387}
     
    464476  // Check the conversion of nodes and arcs
    465477  Digraph::Node nd = n3;
     478  ::lemon::ignore_unused_variable_warning(nd);
    466479  nd = n3;
    467480  Adaptor::Node na = n1;
     481  ::lemon::ignore_unused_variable_warning(na);
    468482  na = n2;
    469483  Digraph::Arc ad = a3;
     484  ::lemon::ignore_unused_variable_warning(ad);
    470485  ad = a3;
    471486  Adaptor::Arc aa = a1;
     487  ::lemon::ignore_unused_variable_warning(aa);
    472488  aa = a2;
    473489}
     
    575591  // Check the conversion of nodes and arcs/edges
    576592  Digraph::Node nd = n3;
     593  ::lemon::ignore_unused_variable_warning(nd);
    577594  nd = n3;
    578595  Adaptor::Node na = n1;
     596  ::lemon::ignore_unused_variable_warning(na);
    579597  na = n2;
    580598  Digraph::Arc ad = e3;
     599  ::lemon::ignore_unused_variable_warning(ad);
    581600  ad = e3;
    582601  Adaptor::Edge ea = a1;
     602  ::lemon::ignore_unused_variable_warning(ea);
    583603  ea = a2;
    584604}
     
    735755  // Check the conversion of nodes and arcs
    736756  Digraph::Node nd = Adaptor::NodeIt(adaptor);
     757  ::lemon::ignore_unused_variable_warning(nd);
    737758  nd = ++Adaptor::NodeIt(adaptor);
    738759  Adaptor::Node na = n1;
     760  ::lemon::ignore_unused_variable_warning(na);
    739761  na = n2;
    740762  Digraph::Arc ad = Adaptor::ArcIt(adaptor);
     763  ::lemon::ignore_unused_variable_warning(ad);
    741764  ad = ++Adaptor::ArcIt(adaptor);
    742765}
     
    9881011  // Check the conversion of nodes and edges
    9891012  Graph::Node ng = n3;
     1013  ::lemon::ignore_unused_variable_warning(ng);
    9901014  ng = n4;
    9911015  Adaptor::Node na = n1;
     1016  ::lemon::ignore_unused_variable_warning(na);
    9921017  na = n2;
    9931018  Graph::Edge eg = e3;
     1019  ::lemon::ignore_unused_variable_warning(eg);
    9941020  eg = e4;
    9951021  Adaptor::Edge ea = e1;
     1022  ::lemon::ignore_unused_variable_warning(ea);
    9961023  ea = e2;
    9971024}
     
    10931120  // Check the conversion of nodes and edges
    10941121  Graph::Node ng = n3;
     1122  ::lemon::ignore_unused_variable_warning(ng);
    10951123  ng = n4;
    10961124  Adaptor::Node na = n1;
     1125  ::lemon::ignore_unused_variable_warning(na);
    10971126  na = n2;
    10981127  Graph::Edge eg = e3;
     1128  ::lemon::ignore_unused_variable_warning(eg);
    10991129  eg = e4;
    11001130  Adaptor::Edge ea = e1;
     1131  ::lemon::ignore_unused_variable_warning(ea);
    11011132  ea = e2;
    11021133}
     
    11991230  // Check the conversion of nodes and edges
    12001231  Graph::Node ng = n3;
     1232  ::lemon::ignore_unused_variable_warning(ng);
    12011233  ng = n4;
    12021234  Adaptor::Node na = n1;
     1235  ::lemon::ignore_unused_variable_warning(na);
    12031236  na = n2;
    12041237  Graph::Edge eg = e3;
     1238  ::lemon::ignore_unused_variable_warning(eg);
    12051239  eg = e4;
    12061240  Adaptor::Edge ea = e1;
     1241  ::lemon::ignore_unused_variable_warning(ea);
    12071242  ea = e2;
    12081243}
     
    13571392  // Check the conversion of nodes and arcs/edges
    13581393  Graph::Node ng = n3;
     1394  ::lemon::ignore_unused_variable_warning(ng);
    13591395  ng = n3;
    13601396  Adaptor::Node na = n1;
     1397  ::lemon::ignore_unused_variable_warning(na);
    13611398  na = n2;
    13621399  Graph::Edge eg = e3;
     1400  ::lemon::ignore_unused_variable_warning(eg);
    13631401  eg = e3;
    13641402  Adaptor::Arc aa = e1;
     1403  ::lemon::ignore_unused_variable_warning(aa);
    13651404  aa = e2;
    13661405}
Note: See TracChangeset for help on using the changeset viewer.