Skip to content

Commit e459862

Browse files
committed
Remove warnings
1 parent 4660425 commit e459862

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Combinatorial_map/include/CGAL/Combinatorial_map.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3340,7 +3340,7 @@ namespace CGAL {
33403340
size_type size() const
33413341
{
33423342
if (msize==0)
3343-
for ( const_iterator it=begin(), itend=end(); it!=end(); ++it)
3343+
for ( const_iterator it=begin(), itend=end(); it!=itend; ++it)
33443344
++msize;
33453345
return msize;
33463346
}
@@ -3363,7 +3363,7 @@ namespace CGAL {
33633363
size_type size() const
33643364
{
33653365
if (msize==0)
3366-
for ( const_iterator it=begin(), itend=end(); it!=end(); ++it)
3366+
for ( const_iterator it=begin(), itend=end(); it!=itend; ++it)
33673367
++msize;
33683368
return msize;
33693369
}

Combinatorial_map/include/CGAL/Combinatorial_map_iterators_base.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ namespace CGAL {
504504
typename Map_::size_type size() const
505505
{
506506
if (msize==0)
507-
for ( const_iterator it=begin(), itend=end(); it!=end(); ++it)
507+
for ( const_iterator it=begin(), itend=end(); it!=itend; ++it)
508508
++msize;
509509
return msize;
510510
}
@@ -559,7 +559,7 @@ namespace CGAL {
559559
typename Map_::size_type size() const
560560
{
561561
if (msize==0)
562-
for ( const_iterator it=begin(), itend=end(); it!=end(); ++it)
562+
for ( const_iterator it=begin(), itend=end(); it!=itend; ++it)
563563
++msize;
564564
return msize;
565565
}

Combinatorial_map/test/Combinatorial_map/Combinatorial_map_3_test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ struct Count_nb_darts
6666
Count_nb_darts(unsigned int &nb) : m_nb(nb)
6767
{}
6868

69-
void operator() (const typename CMap::Dart& d)
69+
void operator() (const typename CMap::Dart&)
7070
{ ++m_nb; }
7171
protected:
7272
unsigned int& m_nb;

0 commit comments

Comments
 (0)