Fix 2x return
This commit is contained in:
parent
74f4478c32
commit
1523aff981
1 changed files with 0 additions and 2 deletions
|
@ -44,13 +44,11 @@ QByteArray checksum_lib::generateChecksum(const QByteArray &data)
|
|||
const u_int32_t hash = hash32Func(udata, size);
|
||||
free(udata);
|
||||
return QByteArray::number((quint32)hash, 16);
|
||||
return QByteArray();
|
||||
}
|
||||
else {
|
||||
const u_int64_t hash = hash64Func(udata, size);
|
||||
free(udata);
|
||||
return QByteArray::number((quint64)hash, 16);
|
||||
return QByteArray();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue