~ubuntu-branches/ubuntu/trusty/bmagic/trusty

« back to all changes in this revision

Viewing changes to src/bmblocks.h

  • Committer: Bazaar Package Importer
  • Author(s): Roberto C. Sanchez
  • Date: 2010-01-24 14:45:39 UTC
  • mfrom: (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100124144539-4ipk5rt64dpp38hl
Tags: 3.6.3-1
* New upstream release
* debian/patches/config.guess.patch: drop obsolete patch
* Add ${misc:Depends} as requested by lintian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1412
1412
    unsigned effective_top_block_size() const
1413
1413
    {
1414
1414
        return effective_top_block_size_;
1415
 
/*
1416
 
        unsigned i = top_block_size();
1417
 
        if (!i) return 0;
1418
 
        for (--i; i > 0; --i) 
1419
 
        {
1420
 
            if (blocks_[i] != 0) 
1421
 
            {
1422
 
                if (this->effective_top_block_size_ < i+1)
1423
 
                {
1424
 
printf("Effective size error!\n");
1425
 
                exit(1);
1426
 
                }
1427
 
                return i+1;
1428
 
            }
1429
 
        }
1430
 
        BM_ASSERT(this->effective_top_block_size_ >= 1);
1431
 
        return 1;
1432
 
*/        
1433
 
 
1434
1415
    }
1435
1416
 
1436
1417
    /**