Bugzilla – Bug 514376
ktorrent-3.2.2-1.4: 2 * undefined code
Last modified: 2009-06-22 13:55:43 UTC
I just tried to build factory package ktorrent-3.2.2-1.4 The build said 1. /usr/src/packages/BUILD/ktorrent-3.2.2/libbtcore/torrent/timeestimator.cpp:208:29: warning: operation on '((bt::SampleQueue*)this)->bt::SampleQueue::m_end' may be undefined The source code is m_end = (++m_end) % m_size; I agree with the compiler - the code is undefined. Suggest new code m_end = (m_end + 1) % m_size; 2. /usr/src/packages/BUILD/ktorrent-3.2.2/libbtcore/torrent/timeestimator.cpp:210:33: warning: operation on '((bt::SampleQueue*)this)->bt::SampleQueue::m_start' may be undefined Duplicate.
. *** This bug has been marked as a duplicate of bug 442933 ***