From: Alan Jack Pippin Date: Thu, 2 Mar 2006 03:35:35 +0000 (-0700) Subject: Removed (0 != space) check from while loop in copy_until_full() method. X-Git-Tag: release-0.6~6 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/%7Bview%7D?a=commitdiff_plain;h=cee8aedd92395f34bd7077a33eab5fe528c61387;p=backups%2F.git Removed (0 != space) check from while loop in copy_until_full() method. --- diff --git a/main.cpp b/main.cpp index 0086106..80385fe 100644 --- a/main.cpp +++ b/main.cpp @@ -31,7 +31,7 @@ template bool copy_until_full( I begin, I end, O out, INT &space ) { bool complete = true; - while( 0 != space && begin != end ) { + while( begin != end ) { INT size = (*begin)->getFileSize(); INT blocksize = blocks( size ) * bytes_in_block;