Task #1429 - kf6-karchive-6.0.0-1.fc40/scan-results.err

back to task #1429
download
Error: CLANG_WARNING:
kf6-karchive-6.0.0-build/karchive-6.0.0/src/k7zip.cpp:1543:13: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1541|               quint32 coderIndex;
# 1542|               getInStream(folder, startInIndex + j, seqInStream, coderIndex);
# 1543|->             seqInStreams.append(seqInStream);
# 1544|               coderIndexes.append(coderIndex);
# 1545|           }

Error: CLANG_WARNING:
kf6-karchive-6.0.0-build/karchive-6.0.0/src/k7zip.cpp:1544:13: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1542|               getInStream(folder, startInIndex + j, seqInStream, coderIndex);
# 1543|               seqInStreams.append(seqInStream);
# 1544|->             coderIndexes.append(coderIndex);
# 1545|           }
# 1546|   

Error: CLANG_WARNING:
kf6-karchive-6.0.0-build/karchive-6.0.0/src/k7zip.cpp:1552:13: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1550|               int seqOutStream;
# 1551|               getOutStream(folder, startOutIndex + j, seqOutStream);
# 1552|->             seqOutStreams.append(seqOutStream);
# 1553|           }
# 1554|   

Error: COMPILER_WARNING:
kf6-karchive-6.0.0-build/karchive-6.0.0/src/kgzipfilter.cpp: scope_hint: In member function ‘bool KGzipFilter::init(int, Flag)’
kf6-karchive-6.0.0-build/karchive-6.0.0/src/kgzipfilter.cpp:74:26: warning[-Wzero-as-null-pointer-constant]: zero as null pointer constant
#   74 |     d->zStream.next_in = Z_NULL;
#      |                          ^~~~~~
#   72|           terminate();
#   73|       }
#   74|->     d->zStream.next_in = Z_NULL;
#   75|       d->zStream.avail_in = 0;
#   76|       if (mode == QIODevice::ReadOnly) {

Error: CLANG_WARNING:
kf6-karchive-6.0.0-build/karchive-6.0.0/src/kgzipfilter.cpp:158:10: warning[deadcode.DeadStores]: Although the value stored to 'i' is used in the enclosing expression, the value is never actually read from 'i'
#  156|       const Bytef *p = d->zStream.next_in;
#  157|       int i = d->zStream.avail_in;
#  158|->     if ((i -= 10) < 0) {
#  159|           return false; // Need at least 10 bytes
#  160|       }

Error: CLANG_WARNING:
kf6-karchive-6.0.0-build/karchive-6.0.0/src/kzip.cpp:161:9: warning[deadcode.DeadStores]: Value stored to 'buffer' is never read
#  159|           } /*end if*/
#  160|           pfi.ctime = uint((uchar)buffer[0] | (uchar)buffer[1] << 8 | (uchar)buffer[2] << 16 | (uchar)buffer[3] << 24);
#  161|->         buffer += 4;
#  162|       } /*end if*/
#  163|   

Error: CLANG_WARNING:
kf6-karchive-6.0.0-build/karchive-6.0.0/src/kzip.cpp:196:9: warning[deadcode.DeadStores]: Value stored to 'buffer' is never read
#  194|           buffer += 2;
#  195|           pfi.gid = (uchar)buffer[0] | (uchar)buffer[1] << 8;
#  196|->         buffer += 2;
#  197|       } /*end if*/
#  198|       return true;

Error: CLANG_WARNING:
kf6-karchive-6.0.0-build/karchive-6.0.0/src/kzip.cpp:469:13: warning[deadcode.DeadStores]: Value stored to 'startOfFile' is never read
#  467|           if (!memcmp(buffer, "PK\5\6", 4)) { // 'end of entries'
#  468|               // qCDebug(KArchiveLog) << "PK56 found end of archive";
#  469|->             startOfFile = false;
#  470|               break;
#  471|           }